How to select a date from calendar in selenium webdriver
I am trying to automate price line website and trying to select the date range. But unable to do it.
View ArticlePDF Validation, not just text but fonts and footer/header size
I am trying to validate a pdf using selenium,but I am not sure if there is an API that I can use. I am using pdfbox to validate text and that's doable.However, I want to verify the font size,...
View ArticleSelenium text attribute returns only a partial text
Does anyone know why I get this :Z-In...Instead of Z-Index 1Here is my code :vid = WebDriverWait(browser,...
View ArticleHow to handle browser or app may not be secure issue with web driver Selenium...
I'm trying to automate sign in into gmail and I get to see this error. I think this must be because the website is able to detect the automation and blocking it. Can you all please tell me how to...
View Article"TypeError: 'str' object is not callable" passing locator within...
I'm receiving the following error:Traceback (most recent call last): File "[redacted]", line 69, in wait.until(EC.element_to_be_clickable(By.ID("RptViewer_ctl09_ctl04_ctl00_ButtonLink"))) TypeError:...
View ArticleI can't handle windows allert to login Selenium Python
I have a problem with handling a window to login for a website. It's not a browser window but a Windows 10 window. There's no way to inspect the code of that window, so switch_to_alert and stuff like...
View Articledatepicker selenium javascipt using
To automate a datepicker, I tried using element.setvalue("12/12/2021")Has anyone tried the datepicker by clicking on the dates on the modal using javascript? Do you start selecting the year and then...
View ArticlePython webscraping, Spotify webplayer, issues with scrolling to bottom of page
I want to make a python program that when given a link to a Spotify playlist will return a list of the track names. This is what I have so far.from bs4 import BeautifulSoup from selenium import...
View ArticleWebDriverException: Message: Service chromedriver unexpectedly exited. Status...
I'd like to construct my crawler using selenium on my server.Thus I had installed/download required dependencies- such as chromedriver, chromium-browser etc on my Ubuntu17.10 serverHowever, when I run...
View ArticleHow to run Edge (Chromium) in Selenium with Python?
Microsoft recently released a blog where they talk about the new Edge browser coming out and how to test it with Selenium:...
View ArticleHow to resolve org.openqa.selenium.WebDriverException?
I am writing an automated test and want to report bugs, if occur, directly in the repo at GitHub. The step which fails in my program is the Submit new issue button from GitHub Issue Tracker.Here is the...
View ArticleGitlab CI for MAVEN project with Docker Image
I have project on java, where i have my tests. Now i have .gitlab-ci.yml:image: maven:latest stages: - build build: stage: build script: - mvn test-compile compile tags: - mytag only: refs: - dev Each...
View ArticleHow Do I Bypass Google Login Step For Selenium?
I am trying to access some services that require a google login. I thought it would be a really neat idea to automate it and have been trying to do so. Whenever I use my script to try and log in,...
View ArticleHow to check the element is available in viewport after selecting an element...
Issue: After selecting an element, refreshing the page, the element is not visible. And after fix, the element is visible without doing any scroll after page refresh. So that I can select a different...
View ArticleClicking on Chrome UI (Selenium and Java) [duplicate]
This question already has an answer here:How to interact with the elements within #shadow-root (open) while Clearing Browsing Data of Chrome Browser using cssSelector 4 answersI need to clear the...
View ArticleThe Constructor RemoteWebDriver(URL, DesiredCapabilities) is undeifned
Multiple markers at this line - The Constructor RemoteWebDriver(URL, DesiredCapabilities) is undeifned - The Constructor URL(String) is undefined' package GridLearnings;import...
View ArticlePython HTTP Basic Authentication through Selenium when username and password...
I have a very specific problem when trying to use default Selenium auth using this construction username:password@siteurl.comSo here is an issue: if I use a password like this "''asd'asd';123asd' (with...
View ArticleHow to retrieve the list of values from a drop down list
I am trying to retrieve the list of available option expiries for a given ticker on yahoo finance. For instance using SPY as ticker on https://finance.yahoo.com/quote/SPY/optionsThe list of expiries...
View ArticleJest selenium automate testing using docker compose
I am trying to run this demo project here wih docker compose. It does not work using docker compose but It works wtihout any problem run with manually. After days of try I am still not able to figure...
View ArticleBetter way to check element between getPageSource and webelement - selenium java
At first I used driver.findElement(By.xpath("//div[@class='xxx']")) to find but I think it's too slow.I think I'll use getPageSource after that use indexOf() to search from the text.Which one is better?
View Article