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

Hi i have used java8 version and i have tested first selenium script with...

Exception in thread "main" org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:20099 Build info: version: '3.141.0', revision: '2ecb7d9a',...

View Article


Why in Python Selenium click() not working but send_keys('\n') is working?

I have a web page with more few buttons with same class and name and when clicked they just disappear and do nothing. So I first tried this but it didn't work:buttons =...

View Article


Clicking a button refreshes a page (unintended) with selenium python

I am trying to automate an upload of a file to my github repo. Code: from selenium import webdriver browser=webdriver.Chrome(r'C:\Users\Eliran\Desktop\chromedriver')...

View Article

Image may be NSFW.
Clik here to view.

Selenium- After click a link,IE opens two windows instead of one window

I'm working on the secured web application. When I click link within frame, it opened another single window where information to be filled.But when I execute this scenario in selenium, it click the...

View Article

Chrome options - Selenium 3.10 - NoSuchMethodError:...

Selenium - 3.10.0 Guava used as -<dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>RELEASE</version> </dependency>...

View Article


How to enable DRM in chromedriver headless mode

I am aware that there is no official support for DRM-protected content (e.g. Spotify webplayer, netflix, etc.) when using headless chromedriver.Has anyone here gotten it to work despite the...

View Article

save responses of a selenium page request to file

Is there a way to save to get responses in the network tab when I open a page in selenium for example when I open Google exactly 6 GET and 3 POST are made, What I want to do is to save responses for...

View Article

java selenum I can't find the selenium element

I have problem. I want click button:<label><input type="radio" name="choose" value="domain" data-dojo-attach-point="focusNode" data-dojo-attach-event="ondijitclick:_onClick" tabindex="0"...

View Article


when i enter a video name to the the input variable the vidplayer() function...

I'm trying to build a gui interface where i can enter the title of a video and once i click on the button, the selenium function (vidplayer) will look for the video on youtube and play the first one of...

View Article


selenium plus pyvirtualdisplay not working on digitalocean ubuntu droplet

As the title, the following is not working on the digitalocean ubuntu droplet, but works on my local computer. All the software are the same.It is just hanging there.import os from selenium import...

View Article

Wait for multiple readyStates for Chromedriver Selenium in Python

I would like to wait for the driver until it reaches the interactive state or complete state.I use || as the or operator but it has syntax error.WebDriverWait(driver, 10).until(lambda driver:...

View Article

Unable to open new tab with Selenium

I am trying to open each listing from eBay to scrape. My objective is to open each eBay's listing in a "for loop" so I can scrape each listing's data. Unfortunately, I get an error...

View Article

Using Selenium with Java to Automate, how to I make an object oriented part...

I have automated a new customer form for work, but there are a lot of options and based on how questions are answered , different fields need to be filled out. Rather than just make a copy of the code...

View Article


How to open multiple windows using Selenium WebDriver

I was trying to learn about "switching between multiple windows" using Selenium WebDriver but for that I am unable to OPEN multiple windows using driver.get() or driver.navigate.to(), that opens the...

View Article

What is the Firefox Gecko equivalent to Chrome's --disable-dev-shm-usage flag

Docker environment: Docker Container, ubuntu:18.10, geckodriver-v0.23.0-linux64, selenium-3.14.1In Chrome, I did not have enough resources allocated to my Docker Container. Adding the...

View Article


Loop through list for send_keys (Selenium & Python)

I'm trying to loop through a list and then having the code click the search button, print the result and repeat. I get this error:Traceback (most recent call last): File "qtest.py", line 17, in list =...

View Article

Can I have @BeforeTest and @AfterTest run for only a group of Tests?

I am building a test framework for a project with multiple modules. Currently, I have two tests in my testng.xml.<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suite SYSTEM...

View Article


Extract Text from div using bs4

I've got stuck on a (probably really simple) problem.I'm scraping a website using python, chrome web driver and selenium.So I could find the div classes with the information, but i can't extract the...

View Article

Selenium WinError6 can't open browser window

I'm trying to open a window using selenium for some automation stuff, but i'm having trouble even getting the window to open up.driver=webdriver.Chrome() driver.get('https://www.youtube.com') when I...

View Article

How to get the text attribute of a input element? - webdriver

<ul class="list-group opened-list d-none" xpath="1"> <li class="list-group-item col-12" xpath="1">My team</li> <li class="list-group-item col-12" xpath="1">My name</li>...

View Article
Browsing all 97750 articles
Browse latest View live