XPath.Clear Method Not working for IOS Simulator
After Updating Xcode to 11.3.1, Xpath.clear method is not working in Simulator 12.1. Using Java platform
View ArticleTypeError: 'str' object is not callable while using driver.page_source().text
I am trying to extract tables from a website for multiple dates. I am using the following code to do so.from selenium import webdriver from selenium.webdriver.chrome.options import Options...
View ArticleFile not found error while setting up Chromedriver using selenium
I am trying to setup Chromedriver using selenium in Jupyter notebook. I have also setup environment variables in my Windows 10 system where chromedriver.exe located, but still I am getting below shown...
View ArticleSolving Picture Captcha With Selenium and 2Captcha (JAVA)
I have been struggling with solving captcha using selenium, java, 2captcha's api.It clicks the verify button but doesn't solve the picture, no errors pop out..Here's my code:private void...
View ArticleSynchronisation issue in handling dynamic webtable
I have a simple webtable called branch which has columns id, branchName, BranchLocaction. Ihave to scenarios to add one branch and test if it is correctly added or not. I have the below function which...
View Articlepython selenium, find out when a download has completed?
I've used selenium to initiate a download. After the download is complete, certain actions need to be taken, is there any simple method to find out when a download has complete? (I am using the FireFox...
View ArticleHow can I reference a locator which is varying by a trailing digit in...
I am trying to click and add on few elements successively, which are in different div elements, but having placeholder varying by just a trailing digit as given below. input type="text"...
View Articlehow i can continue to find next element when NoSuchElementException occur in...
In my framework xpath will be provided through external file for each element. If one element's execution priority is low and xpath not found then it will continue to next element execution. Element...
View ArticleUnable to execute the test plan of remote server from my local browser
I am trying to execute my Test plan of a remote server from my local machine. But when I am executing the Test plan on my local machine, instead of my local browser the remote server browser is opening...
View ArticleHow to run a Maven project containing junit test class in windows command line?
I am new to MAVEN and Junit .I am trying to run a maven project that has junit test and cucumber Feature files in command line. It shows "Build Success" but it also shows "nothing to Compile". Its a...
View ArticleNot able to run the code and the o/p in the console is displaying as...
// This code will read the data from the Excel sheet through @dataprovider but while I am running the code, the data provider name " Facebook" is going to SKIPPED section . can anyone help me with...
View ArticleCucumber cannot be resolved to a type
I created a RunTest class to run my test scenarios using Cucumber with JUnit. To run the tests before, I need to import into my project the RunWith class (@RunWith) and pass as parameter the...
View ArticleUsing Selenium and Python to scrape Morningstar website. Selenium doesn't...
Here's my code:from selenium import webdriver import pandas as pd from lxml import etree url = 'https://www.morningstar.com/stocks/xbsp/UGPA3/quote' browser = webdriver.Chrome() browser.get(url)...
View ArticleWhat is the difference between Selenium Server and Selenium RC?
Selenium Webdriver - For interacting directly with browserSelenium RC - Interacts with browser through a ServerIf i need to test remotely using Web-driver, i need to use Selenium ServerSo when we say...
View ArticleI need to authorize on the site,using python?
I urgently need help writing a bot for the university site https://info.swsu.org/index.php?action=login_user so i want that bot can enter data (password and login) and go to the site, and there I...
View ArticleDetect if a web page requires subscription/registration with Selenium
I am working on a web scraping project: searching some keywords in Google News and scrape the sites.Sometimes a web page may require registration/subscription via a pop-up; sometimes the entire page...
View ArticleHow to get the xpath for the below svg image which are in blue color [closed]
enter image description hereI need all the rects and i need to click one after one rect in the above image.kindly help me.
View ArticleImplicit vs Explicit vs Fluent Wait
What is difference in between Implicit, Explicit, Fluent Wait ?If we set 10 seconds in Implicit wait and before 10 seconds, within 3 seconds only element get located.That time what will happen ? It...
View ArticleUsing implicit wait in selenium
I am a beginner. I understand what waits basically does but I am confused over how different tutorials over the internet place it and explain it. For example, in the below code it is placed before...
View Article