Selenium Python click link on page by text/style
Currently looking at navigating the bet365.com website and i've hit a bit of a standstill. The page I am concerned with has the following URL; https://www.bet365.com/#/AS/B2/.This page lists all of the...
View ArticleSelenium: Clear chrome cache
In my application I need a way to clear only the cache of the chrome browser before log out (except cookies - I do not want to delete cookies).Can any one suggest me a way to click on the CLEAR DATA...
View ArticleIs there a way to login to a website (like gmail) with an android app?
so I got a website like Gmail and need to login to this website and then press a button. I want to make an app for this, where I can parse in my Username and Password and then can click on my Mobile...
View ArticleInvalid Syntax when trying to For Loop in Robot Framework
im trying to loop a text while input text but i got some error when running it *** Settings *** Library Selenium2Library *** Variables *** ${URL} https://www.ebay.com ${Browser} Chrome ${Searching}...
View ArticleI want to test with Selenium, but I get an error Webdrivers :: BrowserNotFound
I currently write tests using Rails5, Rspec, Selenium, and webdrivers gems. However, I get the error Webdrivers :: BrowserNotFound and I can't run it.I think this is due to Selenium not finding a...
View Articledocker-compose selenium-grid, maven, java. Empty pool of VM for setup...
I'm trying to run selenium java project in docker containers:my docker-compose.yml:version: '3' services: hub: image: selenium/hub:3.141.59-vanadium container_name: hub ports: - "4444:4444" firefox:...
View ArticleSend a Instagram comment using Python with Selenium
I want to submit a comment using Python with Selenium. The comment box in Instagram web looks like this: <textarea aria-label="Añade un comentario..." placeholder="Añade un comentario..."...
View ArticleUsing Chromedriver with Google Images download
I am trying to run the following code to pull in some images:from google_images_download import google_images_download #importing the library response = google_images_download.googleimagesdownload()...
View ArticleHow to use enum with spaces in java
I have an issue that I want to resolve. I am using selenium and on of the tests I need to select values from dropdown. the values are:Unassigned - 1 Self Service - 2 I want to create enum with name...
View ArticlePython/Selenium/Chromedriver: the script opens just a blank Google Chrome page
I have a problem with a browser automation script on a specific windows 7 machine. The code is written in python 3.7.4 with Selenium and Chromedriver. When I run it from a command line only Chrome...
View ArticleCan you bypass a 403 code in Selenium WebDriver using cookies?
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 ArticleHow to set proxy with auth credentials in selenium chromedriver...
I have used the extension plugin to set proxy with authentication in selenium python. It worked before, but it's not working anymore with the latest chromedriver version 77.0.3865.40. PS: The solution...
View ArticleTry Except for selenium webdriver or requests scripts
Thinking of best practices, is it good to use try except when trying to get respond from requests.get(url) or using selenium webdriver.get(url) ?Maybe more general question, when its meant to be use...
View ArticleChrome Driver Error using Selenium: Unable to Discover Open Pages
I'm getting a Chrome Driver related error when running my Selenium tests. The error message is "Unable to Discover Open Pages." The Selenium tests were all running fine until last evening. The problem...
View ArticleLogin on Instagram using python but it gives error
I have made a code where I try to login to my instagram account but it gives me many errors. How can I fix them?The code:import pdb from selenium import webdriver driver = webdriver.PhantomJS()...
View ArticleLogin form is getting expired while automating login feature
Have you guys faced problem like login form is getting expired while automating the login script but when i do login manually login works pretty good!I am fetching url and credentials from db!
View ArticleIs there a simple way to get the size of a fetched page with Selenium?
I'm scraping a bunch of websites using Selenium with the command driver.get(url) and I would need to know the size of the fetched web-pages in bytes.Is there a simple way to do this, and if not, how...
View ArticleHow to structure BDD scenarios for situations with a lot of variables
Our team is new to BDD development/specification, and from a testautomation perspective we would like to get some advice on setting up BDD scenarios (and the Steps) in a situation where there are a lot...
View ArticleAre there any advantages of using Testng with cucumber?
When creating automated tests with selenium, I thought one would use easier cucumber with selenium or testng with selenium or just junit with selenium although using only junit is not very popular. I...
View ArticleSpring Boot GUI Testing Selenium WebDriver
I developped a Spring Boot / Angular JS app. Now I'm trying to implement some GUI interface tests.I tryed to use the Selenium ChromeDriver, so I added the Selenium dependency :<dependency>...
View Article