How to update firefox driver options in Selenium Python
so I'm trying to make a web crawler to download stuff online and in my class method i haveClass Webcrawler(): def __init__(self, file): self.file = file self.folderName = None self.directory =...
View ArticleWhat is the difference between driver.findElement() and driver.findElements()?
In driver.findElements() we get another function for finding size() which is not available in driver.findElement(). Is it the only difference?
View ArticleProblems with selenium webdriver using Python and Firefox on a Mac
I'm working through "Automate the Boring Stuff with Python" and am running Python 3.6 with a Mac running OS X v. 10.9.5. My version of Firefox is 50.0.Whenever I type in (per the instructions in...
View ArticleHow to create tkinter app which using multiprocessing Pool/Process
How can I create tkinter app which using multiprocessing Pool/Process? And so that tkinter does not freeze while the processes are running.I want to create web scraper using Python Selenium,...
View Articleweb scraping with selenium on a dynamic table
i'm trying to scrape the table from a dynamic website (it updates information every 10 secs i believe) and load it to a panda dataframe but i can't seem to get pass the first step of getting the first...
View ArticleWhy a program/browser running without GUI called Headless?
I'm curious about why headless means "without GUI". What is the etymology of headless? It seems there is no relationship between a head and GUI.
View ArticleSwitching b/w the Tabs in Android(Chrome) in crossbrowsertesting platform...
I am working on crossbrowsertesting platform in Android Chrome and facing a challenge in which I need to click on a link that opens up in new tab. I need to switch to that new tab and get its URL....
View ArticleHow Does WebElement.equals() Method Check for Equality?
I have more than 1 XPath pointing to a web element and I want to determine if both elements are equivalent (i.e, if I perform the action sendKeys() or click() on both web elements the action would be...
View ArticleUsing Selenium in Python to click/select a radio button
I am trying to select from a list of 3 buttons, but can't find a way to select them. Below is the HTML I am working with.<input name="pollQuestion" type="radio" value="SRF"> <font...
View ArticleHow to automate a flex application in Selenium WebDriver
I want to automate a flex application using Selenium WebDriver. I searched a lot in internet and I found two things sfapi and FlexUISelenium. Both the projects are stopped in 2009 itself and further...
View ArticleHow to test sublinks on a page in Selenium
How to test sub links on a page in Selenium. I have an events page. Then from that events page i collect all the different events links. Then i want to recursively run tests on those links.I have...
View ArticleHandle dropdown on Webpage Dialog window using Selenium Webdriver and Java
I am working on automation of a website using Selenium WebDriver and Java, but I am stuck in a situation where on a button click a new webpage dialog opens and on that web page dialog I have perform...
View ArticleHow can i get text from display none Element using java selenium
I need to get text of the element in an image but that element is not displaying on a web page.
View Articlewhen i use C# dll from C++ for using Selenium, there is exception handling...
It works well on the c# code. However, an exception handling error occurs if i execute at c++ with c# dll.First, I'll show you my code.C# codeusing System; using System.Collections.Generic; using...
View ArticleUnable to click element on IE
want to click on //select[@name='instructionSelection'] but its not clicking Selenium on IE 11enter image description hereenter image description here
View Articlehow to trim whitespace between strings in selenium xpath python
I want to find elements containing name and age.But Name can contain whitespace like "Jo hn", So I want to remove whitespace between strings.So I made code below, but SyntaxError. How can I do...
View ArticleWebDriverException with selenium and Chrome for begginers
I am interested on web scraping with selenium. I have worked with the librery at job, but I am a real begginer on linux (ubuntu) and installing packages. I know this question has been answered, but...
View ArticleHow can I delete a downloaded file using Selenium RemoteWebDriver?
I am writing a test to check that a file can be downloaded from a particular web page and I want it to be able to run both locally and remotely (i.e. on a node via Selenium grid). Before anyone links...
View ArticleCreating a java captcha harvester that is integrated with selenium webdriver...
I am creating a shopify bot program and currently I am unsure on how I would implement a captcha harvester for the user of my program to solve a captcha that is in a headless chrome webdriver. I have...
View ArticleSelenium Grid UnreachableBrowserException
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version:...
View Article