I want to select from and to date in a single field using selenium with python
I have a field in my application which we need select both to and from date. I am trying to pass through send-keys in selenium but the date is not changing in calendar. It is not throwing error...
View ArticleCucumber features are not being recognized by Eclipse
I have installed Natural 0.7.6 version plugin from Eclipse Market and the installation was successful. I tried Cucumber feature and Eclipse is not recognising the same. After installing Natural 0.7.6,...
View ArticleSelenium - How to send input from div > input by id?
So I am having an issue where I am trying to input a text to a input field but I realized that there is two same id by the same id name and I am here looking for help on how to specifiy which div ->...
View ArticleCannot convert python file (which contains selenium) to exe
I am trying to convert python file to exe file. I've used pyinstaller.Steps I followed:I opened the cmd in the folder where is my scriptI used the next comand: pyinstaller --onefile -w name.pyAnd I got...
View ArticleConnectionAbortedError: [WinError 10053] An established connection was...
For some reason I get the following error only when I open up a nested webdriver instance. No idea what is happening here.I am using Windows 10,geckodriver 0.21.0, and Python...
View ArticlePDF printing from Selenium with chromedriver
I am trying to implement printing html/css contents as PDF with Selenium, chromedriver and python.I could printing with a below code, but I cannot change printing setting. I would like to print in...
View ArticleHow to handle mutliple windows through selenium webdriver while switching...
I am trying to switch from second window to third window .But not able to handle third window.could someone please help me to resolve this issue. I have used logic of compare the title of window but...
View ArticleSelenium WebDriver hungs or gets stuck while switching from child window to...
Selenium WebDriver- hungs or stucks while switching back from child window to parent window. If I change the specific page in parent window Manually on debug mode,Successfully switch is happening from...
View ArticleOpenFin application test framework with Selenium_Java
I had a test framework in Selenium + Java . Recently the portal the framework was testing is moved to openfin.How can I utilise my Selenium + java test framework using chromedriver to run on openfin...
View ArticleHow to handle application authentication popup in Safari browser
I have tried robot class to handle authentication popup in safari browser. but I am facing expected url launching but authentication credentials not getting accept.driver.get(url);...
View ArticleWhat is useAutomationExtension capability of Chrome?
I came across a problem while running Selenium tests. One of the SO answers suggested to disable Chrome Automation Extension using useAutomationExtension...
View ArticleRun a python function every 15 minutes and save files in different names
I am trying to run a function where I am downloading a file from a website and saving it in a particular directory. I want to automate this using python. However, I need the name of the file to be...
View ArticleHow to find if the element as a icon(camera) without specific locators in...
Difficult to find an element of icons like camera driver.findElement(By.xpath("//*[@id=\"app\"]")).click(); xpath is changed every time
View ArticleWeb scraping more than one "brother"
I'm trying to web scrape in python with selenium. The website is a sport results page, and my final goal is to get in a csv (or xml in a future) the full list of results. The website code is something...
View ArticleUnable to hide "Chrome is being controlled by automated software" infobar...
After updating Chrome to version 76, I cannot figure out how to hide the "Chrome is being controlled by automated software..." notification overriding some controls on the page.The latest stable...
View ArticleHow to select a drop-down menu value wihtout an id with Selenium using Python?
I need to select an element/item from a drop-down menu that doesn't have an id element using Python and Selenium.The piece of HTML code:<mbo-transaction-mode-select mode="filters.mode"...
View ArticleDelete some text from current URL using selenium? [duplicate]
I have an url, let's say it is:website.com/sometext/someothertext/deletetext How do I delete deletetext? Then add some other text e.g: 123456? Preferably using selenium. I'm only trying to delete the...
View ArticleHow can I automate Chrome Browser with WinAppDriver?
I know I can use Selenium for Web Automation. However, I want to try it using Appium. Help me to launch Chrome.
View ArticleWhy I am getting error 'screenshot failed, retrying timeout: Timed out...
getting timeout exception org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 10.000, screenshot failed, retrying timeout: Timed out receiving message from...
View ArticleHow can I avoid having multiple xpath variables in Selenium?
i am defining 2 variables in Selenium like this:@FindBy(xpath = "//span[contains(text(),'€11')]") private WebElement singleTicket; @FindBy(xpath = "//span[contains(text(),'€19')]") private WebElement...
View Article