WebDriver is a tool for writing automated tests of websites. It aims to mimic the behavior of a real user, and as such interacts with the HTML of the application. Rather than running as a JavaScript application within the browser (with the limitations this brings, such as the "same origin" ...
0
votes
0answers
6 views
PHP Webdriver - target pages don't load in browser
New to Selenium 2. Here's the issue: each time I run a test, the browser opens but refuses to load URLs. I simply get a blank page. Here's an example using Łukasz Kolczyński's bindings:
require_once ...
0
votes
0answers
11 views
Webdriver ExpectedConditions > textToBePresentInElement
I am trying to wait for an text to be present in element using one of the expected conditions
below is my html code
<label id="x-auto-116" class=" x-component" style="font-size: 10pt; white-space: ...
1
vote
1answer
29 views
Add extension method to webdriver
I wrote a lot of tests in C#, but now at new job i have to write tests in Java. I had a class that's adding extension methods to webdriver (in C#):
public static class WebDriverExtensions
{
...
0
votes
0answers
20 views
Why can't I use the selenium.(etc…) library?
When I try to use the selenium. library to perform commands, they don't work.
I've imported the import com.thoughtworks.selenium.*; library but I get a java: can't find symbol error.
...
0
votes
1answer
26 views
how to disable cookies using webdriver for Chrome and FireFox JAVA
I want launch browsers(FF, CHROME) for test with disabled cookies, I tried this:
service =
new ChromeDriverService.Builder()
...
0
votes
1answer
15 views
How to handle file upload windows in selenium webdriver + python?
I have come across solutions to handle file upload windows but unfortunately none of them talk about what APIs we have for python. Hence I thought to ask this question.
I have a web page with just a ...
0
votes
1answer
22 views
How to get value from page using WebDriver >> find elements
How to get value from hierarchy with Selenium WebDriver and WebElement?
The web page application is Telerik model.
Part of my java code:
public void ChangeElementSaveAndVerify() throws ...
0
votes
2answers
22 views
How to check the link is enabled in Webdriver using java?
I have searched the forums before posting this issue here. I have found some answers but i am not able to get the success from the answers in that. My issue is
How to check the link is enabled in ...
0
votes
0answers
24 views
Java Threads for WebDriver (Selenium)
I try to write a simple web Bot in Java (WebDriver). I created two classes. One is scanning google for pages I like and returning next link page when i call getnextadress() method. The second was ...
0
votes
0answers
29 views
WebDriver: I can't set path to IEDriverServer.exe that is in a Runnable Jar
I have created a runnable Jar using Eclipse. The IEDriverServer.exe is present in the Jar. I am treating IEDriverServer.exe as a resource for the project.
The below line of code
...
0
votes
1answer
50 views
selenium to click on several links one after other
I have a table over a webpage having many values repeating like this:
Description App Name Information
Some Desc1 App1 Some Info
Some Desc2 App2 Some Info
Some ...
0
votes
3answers
29 views
Can't find element using xpath
So, here are two divs
<div class="th_pr"><input id="user_email" class="accounts_input" type="text" size="30" placeholder="Email" name="user[email]"></input><p ...
1
vote
0answers
21 views
IE proxy settings using python and webdriver
I am trying to set the proxy settings for internet explorer using selenium with python.
This is what i have done::
from selenium import webdriver
PROXY = "localhost:8080"
...
0
votes
1answer
33 views
Selenium to click on an app name in a filter tool
I have another requirement like this in my c# selenium application. Since there are so many content in my webpage table, it will be quite nice to sort it based on the app name. I have content like ...
0
votes
2answers
37 views
What is the Page object pattern in webdriver?
What is page object pattern in selenium webdriver?
What is the use of it and how we can use this in web driver?
Example will be appreciated