Selenium-Webdriver provides an API to control and communicate with web browsers.
0
votes
1answer
11 views
How to find browser user-agent with selenium in ruby
I want to know current user-agent. I have used selenium2 with ruby
I have set user-agent in env.rb
Capybara.default_driver = :selenium
Capybara.register_driver :selenium do |app|
profile = ...
0
votes
0answers
7 views
How to use TestNG with Selenium WebDriver in Twist?
I am using JUnit with Selenium WebDriver in Twist. How can I use TestNG instead of JUnit with WebDriver java code in Twist?
0
votes
0answers
10 views
Caused by: org.openqa.selenium.NoSuchElementException: Element is not usable
I use Selenium Webdriver + Thucydides. When I try to use a checkbox (any state: isEnabled(), isDisplayed(), isSelected()), so an error will occur. I tried the different locators: by id, name, xpath. ...
0
votes
1answer
11 views
How to use 2D array in selenium webdriver
Hi i want to use 2D array in my code.
I am using that in loop to point element to each other.
I am trying 2D arrays,
a[i]=b[j]
in array a[i] i am going to store some xpath and in another array b[j] i ...
0
votes
0answers
9 views
Running Selenium Webdriver with a proxy in Python
I am trying to run a Selenium Webdriver script in Python to do some basic tasks. I can get the robot to function perfectly when running it through the Selenium IDE inteface (ie: when simply getting ...
0
votes
0answers
15 views
Integrating jBehave + Junit + Springs + Selenium
I have one integration-test written in JUNIT 4.8.2 (Selenium and Spring annotations are used in it).
Now i have to integrate these with JBehave. How this can be achieved?
My TestClass looks ...
0
votes
0answers
41 views
Use Selenium to find all “hoverable” elements on a webpage
Is there any way to use Selenium to find all of the elements that will somehow alter the page whenever they are hovered over? (Such as triggering dropdown menus, tooltip texts, or just simply changing ...
0
votes
1answer
18 views
Count the number of rows with xpath but .size() is not available
I'm trying to count the number of rows in table and based on my research for webdriver, I should be using as code below. However, I am unable to see .size() method populated and i'll be appreciated if ...
-1
votes
1answer
19 views
Robot Framework - Case sensitive [closed]
I need to know if there is a workaround on this error:
When I use Keywords like
-Location Should Be
-Location Should Contain
I get this error:
"Location should have been 'http://www.google.pt' but ...
0
votes
1answer
7 views
ISeditable not working in WebDriverBackedSelenium
I am recently shifted to WebDriverBackedSelenium from selenium RC. isEditable is not working in it whereas works fine in seleniumRC. Any idea how can I make it work.
0
votes
0answers
13 views
How to use explicit waits when page factories are used in webdriver code
I use page factories in my webdriver code, If i want to use "ExpectedConditions.visibilityOfElementLocated" which take a By object, how is it possible to use the WebElements declared using Page ...
0
votes
0answers
15 views
Selenium running headless Firefox browser in Windows
Is it possible to configure Selenium to use Firefox driver and run the browser headlessly within Windows?
I am aware of other drivers working so within Windows or under Linux but not in the ...
0
votes
1answer
13 views
I am getting “org.openqa.selenium.WebDriverException: chrome not reachable” error in selenium 2
Can somebody plz help me on this?
While trying to launch the chrome browser i am getting the above stated error. The chrome opens for a while but then it closes automatically.
The version of chrome ...
0
votes
0answers
14 views
How to click on specific data coming under label tage of HTML using Selenium2 (Webdriver)
I have a table which has 3 columns , I want to click on the column with specific name ,
for example the Table HTML is like below :
`<tbody id="tbodyId" style="overflow-y: auto; display: block; ...
1
vote
0answers
24 views
How to find the Firefox Profile Path using webdriver
I am unable to find the path of the Firefox Profile path , I am using the following code for
static String HubHost;
static String HubPort;
...