Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 97750 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Selenium.WebDriver.ChromeDriver slow to launch - why?

I've created the simplest-possible NUnit test to initialise a ChromeDriver, and it's taking nearly 6 seconds to run. Most of the time (roughly 4s) is spent with a blank, inactive Chrome window.The...

View Article


Scrapy how to get element loaded in grid

I am crawling for this page https://itch.io/jam/sheridan-strike-jam/entriesIf you hover over one of the four game's names, you will see the link to the submission page. For example, clicking the game...

View Article


Webdriver initialization is opening multiple instances of Google Chrome

Below is a snippet of code I'm using to initialize chrome webdriver: System.out.println("Initializing Chrome"); ChromeOptions options = new ChromeOptions(); //options.setBinary("C:/Program Files...

View Article

How to attach SOFTASSERT screenshots to Allure report?

I am a manual tester learning Selenium+Java at the moment. Thanks to a lot of brilliant answers at Stack Overflow, I managed to take screenshot when SoftAssert fails, but I'm now struggling with...

View Article

Selenium Error - The HTTP request to the remote WebDriver timed out after 60...

I've been using Selenium for a number of months, which we're using to automate some of our internal testing processes. The scripts have been passing fine. I've recently upgraded to C# 2.40.0 webdriver...

View Article


Do Specflow tests work in VSCode Test Explorer extensions?

I am using VSCode to write my automated tests with Selenium and Specflow, but my .feature Scenarios won't appear on the Test Explorer. (.NET Test Explorer extension) The only way I managed to make...

View Article

Move to WebElement with opacity 0 via Java interactions API in Selenium

Consider the following <select> from an internal Selenium test page:<select id="invisi_select" style="opacity:0;"> <option selected value="apples">Apples</option> <option...

View Article

Accessing Firefox console command line using selenium python and take a Full...

I am taking a full-page screenshot of a web page that has fixed headers. I am using selenium python to access developer console but I need to know how to take a pass :screenshot --clipboard --fullpage...

View Article


how to verify file download completely in selenium Java if that file will go...

I can see option in internet to check the file name to verify the file downloaded and the another option is checking the file size to make sure it download completely but is there any way we can verify...

View Article


Node selenium-webdriver "Error: Timed out waiting for the WebDriver server at"

While following the instructions in the 'Getting Started' section of the WebDriverJs documentation and after running this snippet from their site:var driver = new webdriver.Builder()....

View Article

How to fix DesiredCapabilities in Selenium 4.0

I have a piece of code which sets browser name for the grid. However, DesiredCapabilities is deprecated in Selenium 4.0. How can I fix this code so that it works as the same in 4.0?DesiredCapabilities...

View Article

Image may be NSFW.
Clik here to view.

How to handle "Your connection is not secure" error in firefox using selenium

I am using webdriver V 3.0.1 and firefox V 46. I am facing an error as "Your connection is not secure".Please help me to overcome from this issue. Below you can find my code...

View Article

How to select the drop down using javascript in selenium?

<div class="inpt-slider"> <h4 class="fdNames block">Type of Fixed Deposit</h4> <div class="typeOf selArrow"> <select id="FdepType"> <option...

View Article


How to set mock Geolocation Long/Lat in Python/Chromedriver/Selenium

I'm running Python/Chromedriver/GoogleChrome/Selenium headless on python, and I am having some trouble figuring out how to set a custom geolocation long / lat programmatically; the following code is...

View Article

Passing value of a variable in findElement function in RSelenium

I want to know how can I pass a value that is given through a for function to the value parameter in findElement function of RSelenium package.The code is the following:option <-...

View Article


Selenium scripts filed even after successful login(1st script)

I tried to run a suite, even application able to login successfully(I can see the application is logging in) the reports shows failed the first test scripts all other scripts are...

View Article

How to set onchange event or dispatch event?

Trying to set some value in the textbox & dispatch event.browser.executeScript(`document.querySelector("body > moo-shell > auto-app").shadowRoot.querySelector("section >...

View Article


Stop Driver Process after - session not created: This version of ChromeDriver...

When trying to initialize the ChromeDriver to run selenium tests in C#, this mismatch error causes the chromedriver executable to remain running.I've modified the code to catch the exception and then...

View Article

Content not appearing on code using inspector

I am trying to crawl this website https://www.wego.ae/en/flights/searches/cDXB-cSFO-2020-03-09:cSFO-cDXB-2020-03-22/economy/1a:0c:0i?sort=price&order=asc and I can't find any of the actual page...

View Article

(When present) Perform Click Event on 'Login' button of Web Page

My requirement: When 'Login' button is NOT present, click on 'Login' button and work on use case. When 'Login' button is present, work on use case directly (No need to click on 'Login' button)So, I...

View Article
Browsing all 97750 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>