11746/current-url-of-the-already-opened-browser-using-selenium
Use Something like this:
//get all the windows already opened Set<String> windows = driver.getAllWindows(); //loop through each windows for(String s:windows){ driver.switchTo(s); String title =driver.getCurrentUrl(); //do with url }
Hi Pankhuri, to check the compatibility of ...READ MORE
Reading PDF contents is not a functionality ...READ MORE
WebDriver driver; JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("document.getElementById('id123').setAttribute('attr', ...READ MORE
The main advantage of using Marionette Gecko ...READ MORE
The better way to handle this element ...READ MORE
enable trusted connection in internet explorer by ...READ MORE
To Allow or Block the notification, access using Selenium and you have to ...READ MORE
xpath are two types. 1) Absolute XPath: /html/b ...READ MORE
Download the latest selenium jar and replace ...READ MORE
Check this first: http://code.google.com/p/selenium/issues/detail?id=174 You Can use the JavascriptExector as follows: public ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.