13
votes
Accepted
Webdriver Firefox "Element could not be scrolled into view"
A workaround that works for me so far is that I use a 'fake' tr:
Find the tr I want to click
Find a td that belongs to that tr and click on it. it works
This bug is reported on Bugzilla and this ...
5
votes
Accepted
What is geckodriver? How to use it in Selenium Webdriver?
GeckoDriver:
A Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers. Geckodriver provides HTTP API described by the WebDriver protocol to communicate with Gecko ...
4
votes
Webdriver Firefox "Element could not be scrolled into view"
I faced the same issue when I upgraded to new Firefox version 63. I have used the Actions class to click an element. Give a try!
WebElement element = WebDriver.findElement("locator");
...
4
votes
Accepted
Geckodriver: How to use "moz:firefoxOptions" on node.config for selenium grid
Unfortunatelly I found only workaround solution (e.g. if you need several different Firefox versions on a single station):
nodeConfig_1.json
{
"capabilities": [
{
"browserName": "firefox"...
4
votes
Firefox does not shows saved bookmarks, addons while launching?
Yes absolutely right.
Because all those bookmarks, addons, passwords etc.. are saved In your regular browser's profile folder so when you launch browser manually, It will use existing profile ...
4
votes
Accepted
Firefox does not shows saved bookmarks, addons while launching?
IIRC selenium webdriver creates a fresh FF profile each time it's constructed.
I found a link about how to set it to a different profile (one where your bookmarks, addons etc. exist)
Regarding IE, I ...
4
votes
Firefox browser opens but URL is not launched
Add proper code to launch your Firefox driver using Geckodriver:
System.setProperty("webdriver.gecko.driver","path of/geckodriver.exe");
WebDriver driver = new FirefoxDriver();
driver.get(URL);
If ...
4
votes
Accepted
What are the alternatives to FirePath and Firebug with the Firefox
Essentially the functionality is now present in Firefox.
The official advice is to use this: https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate
You can read about that here: https://...
4
votes
Accepted
Want to test ebay site login without using Xpath
It looks live you've answered your own question
driver.findElement(By.cssSelector("a[href='www.ebay.com']"))
but the DOM says that element is
<a href="https://www.ebay.com/" ..../>
So ...
3
votes
Accepted
How do I identify a specific <div> by id with Selenium?
// tagNameString is equal to "storytext"
driver.findElements(By.tagName(tagNameString));
What you are actually asking Selenium to do is to find all "storytext" elements. Selenium will be looking for ...
3
votes
Are there any issues with Selenium v2.53 and Firefox v45.0.1?
If you are using Selenium v-2.53 downgrade your Mozilla Firefox version.
Selenium v-2.53 has lots of issues with Mozilla Firefox version above 45. So you may use FF v-31.0. Even I have got same ...
2
votes
Authentication Acting as Alert, Not as Window
If you can try with firefox version 47+ as Selenium 3 is supported with later version from v47.
Here is the link for reference
Hope the below solution can help you with Authentication Alert box -
...
2
votes
Accepted
How to run selenium Webdriver test cases in Firefox C#?
Selenium 2.53.1 is not supported in Firefox 48, you will need to downgrade to Firefox 47 or use the Geckodriver instead.
https://stackoverflow.com/questions/38930370/selenium-2-53-or-2-48-not-working-...
2
votes
Which version of FF is compatible with Selenium IDE?
Firefox 54 (not 34) is the latest Firefox version supported by the IDE.
But the normal installation button is grayed out as for some reason the IDE is marked here as compatible with Firefox up to 34 ...
2
votes
GeckoDriver not working in C# for Firefox browser
Simple solution:
use NuGet to download the Firefox driver into your project
Geckodriver.exe should now be available in your solution explorer (see screenshot)
Make sure you set the property to Copy ...
2
votes
Accepted
How to handle browser closing popup
There're at least 3 ways to handle this case.
Refresh the page and then dismiss the dialog if the driver supports it :
driver.refresh();
driver.switchTo().alert().accept();
driver.quit();
Setup the ...
2
votes
Accepted
Can't drag and drop from source to target using selenium and python
The problem was because I was using the drag_and_drop command.
Drag and drop now work with both Chrome and Firefox with the following command:
source_element = self.browser.find_element_by_xpath(...
2
votes
Getting different results using selenium and iFrames on Firefox 63, Chrome 69 and Chrome 70
Have you updated chrome driver as well? – Alexey R. Oct 30 '18 at
16:13
Resolved !
Upgrading to Chromedriver 2.43 did the trick.
Latest Release: ChromeDriver 2.43
Supports Chrome v69-71
Changes ...
2
votes
Accepted
Get java.lang.IllegalStateException
Based on the error message the test is looking for ..\Downloads\Programs\geckodriver.exe while you have ..\Downloads\Programs\geckodriver-v0.23.0-win64.exe.
Renaming geckodriver-v0.23.0-win64.exe to ...
2
votes
Accepted
“Element could not be scrolled into view” when button is already visible
Finally found the issue:
There was another, invisible element, with the same id. I believe that making the id unique will fix the issue.
1
vote
Mozilla browser open issue in the Selenium Webdriver
For Selenium 2.53, use Firefox 45.0.2. It will work perfectly.
You can also try upgrading to Selenium 3, but then you will need to upgrade the Firefox Version above 47 and also need to use ...
1
vote
selenium.NoSuchElementException: Unable to locate element: #passwordNext
As per the Stack Trace
Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element: #passwordNext
For documentation on this error, please visit: http://...
1
vote
How to handle browser closing popup
I have one test that results in a modal dialog popping up with a yes/no question.
I always was to press Yes and the code I use is....
webDriver.switchTo().alert().accept();
1
vote
Howto use the Firefox browser in headless mode with Selenium
To enable headless Firefox using selenium-webdriver version 4.0.0-alpha.1 and node 8.x:
const { Builder } = require('selenium-webdriver');
const firefox = require('selenium-webdriver/firefox');
const ...
1
vote
How do I configure my env.rb file to be able to switch browsers?
At the end of each scenario, you should be quitting the driver instance during teardown:
$driver.quit
1
vote
Error: Cannot connect to firefox with selenium
You should prepare one list and note down the configuration used by the team and cross verify weather those are available at your machine.
Selenium version have continuous upgrade. So better to ...
1
vote
Accepted
WebDriverException: org.apache.http.conn.HttpHostConnectException: Connect to localhost
The webdriver.gecko.driver property needs to be pointed to a geckodriver executable (reference), not firefox browser itself. Make sure geckodriver executable has "x" (execution) permissions.
You can ...
1
vote
GeckoDriver not working in C# for Firefox browser
If the browser is not installed in the default location maybe it is good to specify the BrowserExecutableLocation.
FirefoxOptions firefoxOptions = new FirefoxOptions();
firefoxOptions....
1
vote
Firefox browser opens but URL is not launched
Try replacing:
System.setProperty("webdriver.firefox.marionette","pathToGeckodriver");
with:
System.setProperty("webdriver.gecko.driver","pathToGeckodriver");
1
vote
How to avoid the pop up message while downloading an application (.exe) using selenium
I think you have missed some crucial options.
Please consider the code taken from this answer. Of course your MIME type will be different.
FirefoxProfile profile = new FirefoxProfile();
profile....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
selenium-webdriver × 78firefoxdriver × 74
automated-testing × 33
java × 18
selenium3 × 8
chromedriver × 6
python × 5
selenium2 × 4
c# × 4
jmeter × 2
testng × 2
exception × 2
grid × 2
waits × 2
browser-automation × 1
appium × 1
javascript × 1
jmeter-plugins × 1
selenium-ide × 1
eclipse × 1
ruby × 1
chrome × 1
selenium-webdriver-c# × 1
browsers × 1
css-selectors × 1