Tagged Questions
0
votes
1answer
412 views
Chrome WebDriver On Mac IllegalStateException After Setting Webdriver.Chrome.Driver property
I have a properties file that i use to load the location of the different install locations for chrome:
mac.chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
...
1
vote
1answer
520 views
ChromeDriver — The dreaded "Element is not clickable at point (x, y). Other element would receive the click
I have a web app that I'm trying to write selenium tests for, and I have run into a problem with the Chrome driver. There is a wizard-type interface that users can employ to fill out a form. There is ...
0
votes
2answers
736 views
Alert doesn't close using Selenium WebDriver with Google Chrome.
I have the following Selenium script for opening alert on rediff.com:
public class TestC {
public static void main(String[] args) throws InterruptedException, Exception {
...
0
votes
1answer
232 views
The method usingChromeDriverExecutable(File) is undefined for the type ChromeDriverService in Selenium WebDriver
My code is as below:
ChromeDriverService service = new ChromeDriverService.Builder()
.usingChromeDriverExecutable(new File("E:\\Software\\chromedriver.exe"))
.usingAnyFreePort().build();
It ...
0
votes
2answers
474 views
Selenium Grid 2 - Chromedriver does not start a new profile on a new run
While testing a website on Chrome using selenium webdriver (chromedriver) with ruby and selenium grid 2, I manually clicked on Allow to track my location.
Since then every new run starts off with the ...
1
vote
1answer
233 views
How to Detach Chrome Browser from Chrome Driver (Selenium Web Driver C#)
I want to use Selenium Web Driver in VS 2010 C# to open a Chrome browser, navigate to some web page and then close the driver but keep the browser open. I realize that I will have to manually close ...
0
votes
0answers
120 views
Chrome 24 UI is unchanged eventhough selenium executes the actions
My test cases were working fine with selenium+chrome 23. I upgraded to chrome browser 24 and tried running the cases. although selenium executes the cases, the changes are not reflected in UI ...
0
votes
0answers
317 views
Two different ways to override console.log, why one is not working in js.executeScript()?
I overwrite console.log function and put it into executeScript() which is method of selenium web driver. For example, I wrote:
js.executeScript("console.log = function(txt) {alert(txt);};");
is not ...
2
votes
1answer
825 views
The method executeScript(selenium web driver) cannot define a global variable for later use?
I am using the method executeScript in selenium web driver, I found a problem:
js.executeScript("var b='1'; ");
js.executeScript("alert(b)");
After I run above code, I suppose get a alert window ...
4
votes
3answers
11k views
How to run Selenium WebDriver test cases in Chrome?
I tried this
WebDriver driver = new ChromeDriver();
But i'm getting the error as
Failed tests: setUp(com.TEST): The path to the driver executable must be set by the
webdriver.chrome.driver ...
0
votes
0answers
182 views
selenium 2 Chrome Driver 23.0 crashes when closing the browser manually
i am facing an issue that chrome driver(22,23.0) not responding when i manually close the launched browser which makes my windows explorer to restart.
Any solution on this would be greatly ...
5
votes
1answer
804 views
How to change web browser from Firefox to Chrome/Opera/IE/Safari in selenium webdriver?
How to change browser from firefox to Chrome/Opera/IE working in selenium webdriver? Please guide in steps and also with the code snippet.
Please reply if you have answer for any of the browsers ...
0
votes
1answer
650 views
Selenium2 - Running tests on CI causes multiple driver instances
For our BDD tests we use Specflow that talks to selenium 2 webdriver (Chrome driver in this instance).
While running on local host (Yes, "it works on my machine" has came up in conversation a few ...
1
vote
1answer
198 views
Why am I getting this WebDriver exception in Chrome and not in Firefox
Here is the error
WebDriverException: Message: "findElement execution failed;\\n Property \'Error\' of object [object DOMWindow] is not a function"
I run:
LoginPage.authenticate(self, ...
1
vote
2answers
436 views
Does selenium support IE with google frame add on installed on it?
Selenium is able to load Chrome Frame pages. The problem is that once you load the page in IE with Chrome Frame plugin, the tag appears as empty. Selenium tries to identify elements using the DOM ...