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 ArticleRuby 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 ArticleHow 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 ArticleHow 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 ArticleScrapper 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 ArticleUnable 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 ArticleTrying 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 ArticleUnable 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 ArticleHow 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 ArticleFocus 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 ArticleSelenium 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 ArticlePython -> 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 ArticleElementNotInteractableException 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 ArticleSelenium 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 ArticleDisable 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 ArticleUnable 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 ArticleHow 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 ArticleChromedriver 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 ArticleScraping 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 Articleis 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