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

Finding element and entering in Ruby Selenium

I'm new to the Selenium and Ruby and Cucumber/Gherkins world and am trying a simple script to navigate to the Google page, find the search bar and enter a word and press enter or find the "Google...

View Article


Ruby PageObject Design for Similar Page Sections

I'm using the Cheezy Page Object gem (which also means I'm using Watir, which also means I'm using Selenium). I also have the watir gem explicitly loaded. Anyway I have a site I am modeling with the UI...

View Article


How to open new tab in selenium 3.141.59

In selenium 3.141.59 I am trying to open a new Tab using Actions action = new Actions(driver); action.keyDown(Keys.CONTROL).sendKeys(Keys.TAB).build().perform(); and...

View Article

How to run selenium in multiple docker containers while changing proxy?

Thank you all in advance for all your patience and kindness. I am new to docker and have trouble utilizing it to achieve my task. Please kindly let me know if I posted anything incorrectly instead of...

View Article

Scrapper problems with ASP.NET locating objects - Selenium

Im new into python, and im trying to make a scrapper into a ASPX website. I got two types of results in this page, the empty ones and the results, My code can get the empty ones but i cant get the...

View Article


Unable to set default download path using Selenium ChromeDriver SerenityBDD

Issue: ChromeDriver doesn't download a file to the "desired" pathChromeDriver unable to download any file on "headless" mode.POM<java.version>1.8</java.version>...

View Article

Trying to loop through a webpage to scrape all football players names, but...

I'm trying to scrape all the names of the players on Alabama's football roster, found here: https://rolltide.com/roster.aspx?roster=226&path=footballI'm able to get the first players name, but it...

View Article

Unable to receive page using PhantomJS in python selenium [on hold]

I am trying to scrape data from a website using PhantomJS in python as I need to be able to submit a form and then click on a button to go to a page to scrape, but I am only getting empty pages. When i...

View Article


How to set proxy AUTHENTICATION username:password using Python/Selenium

I am using Selenium 4 and python 3.7 with Firefox webdriver. I need to verify the username and password for my current project. I've been working day and night for days and I can't solve this problem....

View Article


Focus on newly opened tab

I click a login button in my app that causes new tab to be openned but altough Chrome displays content of the new tab ChromeDriver still is operates on the old tab.Question: How to make...

View Article

Selenium WebDriver unauthorized request when trying to connect to url

I'm accessing a url string via the src attribute of an img Html element using WebDriver. However, when i try to open a new window to that URL i get a 403 Unauthorized access and i don't know how to...

View Article

Python -> Selenium : Not able to upload the file

Code: <input type="file" accept="image/png, image/jpeg" style="display: none;">What I am trying to do:upload = driver.find_elements_by_xpath("//input[@type =...

View Article

ElementNotInteractableException when Choosing a File in Robot Framework

I am trying to automate the upload of an image in a website in robot framework (in Eclipse). I am using the keyword Choose File with the locator of the image upload button and the complete file path....

View Article


Selenium Connection Refused

I am scraping Google search pages using Python/Selenium, and since last night I have been encountering a MaxRetyError: p[Errno 61] Connection refused error. I debugged my code and found that the error...

View Article

Disable cache in Selenium Chrome Driver

I’m using the Selenium ChromeDriver in order to measure performance of web pages. But by default in Chrome driver cache is enabled. Option --disable-application-cache is deprecated now...

View Article


Unable to access the element in the frame

I am still dipping my toes in selenium , I am SAP guy working on Selenium automation POC. my requirement is to click on the drop down and select a value from the droplist. I have extensively looked at...

View Article

How can i get http response using Selenium driver with PYTHON?

I am trying to get url's HTTP response of a page using selenium webdriver . Can anyone please help me with that. I am trying to do with some code i found elsewhere from selenium import webdriver import...

View Article


Chromedriver with Selenium

I added the chromedriver path and still receive this error when i load chromedriver via selenium.pry(main)> browser=Watir::Browser.new(:chrome) Selenium::WebDriver::Error::WebDriverError: Unable to...

View Article

Image may be NSFW.
Clik here to view.

Scraping data through API after actions with buttons

I wanna grab data from https response, but they data appears only after clicking on the button with opens the dialog window (look at the screen bellow), so I have to open all necessary windows and then...

View Article

is it possible to use webdriver/Selenium to get current tab which user...

I'm trying to use Selenium to check/monitor the tab that user using. But i found that the driver alway only monitor the first tab since browser open. I tried to use this driver.current_window_handle It...

View Article
Browsing all 98220 articles
Browse latest View live


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