Initialization Error while executing TestRunner class
When I try to run the TestRunner.java then I see the following error:initializationError(0.000s)java.lang.IllegalArgumentException: baseDir must exist: C:\com\newtours\qa\features at...
View ArticleSign in to gmail account fails (selenium automation)
I have a Selenium service that has to login to my gmail account as the first step. This functionality was working couple of weeks ago, but suddenly the login starts to fails and i am seeing this Error...
View Articleundefined keyword error in pycharm robot framework
i am using pycharm with intellibot and robot framework plugins. one of a sudden, keywords turned undefined like "click element". but other robot framework libraries works well....
View ArticleHow to click the kendo dropdown in selenium webdriver
Here is my selenium code:WebDriverWait wait = new WebDriverWait(driver, 30); wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//ul[id()='ddlSaleItem_listbox]")));...
View ArticleHow can i open chrome browser locally to test when my test code is in AWS...
my code is exports.config = { allScriptsTimeout: 11000, restartBrowserBetweenTests: true, specs: [ './e2e/**/*.e2e-spec.ts' ], framework: 'jasmine2', capabilities: { 'browserName': 'chrome',...
View ArticleUnable to click on button of a pop-up in div using selenium
I'm trying to click on a button inside pop-up. However, webdriver always throws No such element exception. The pop-up is not an alert but a regular element defined inside a . It consists of a message...
View ArticleChrome browser not getting launched while executing testsuite from jenkins....
I added chromedriver plugin to get the browser launched in jenkins, but its not working. However I have tried one of the solution given below Steps to create slave node:1.Navigate to...
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 ArticleChromeDriver DevTools support for Selenium 4 Grid
Selenium 4 will support DevTools for Chrome. Is it planned to use these features on a selenium grid? And if so how would you initalize a ChromeDriver object. What i am looking for is this kind of...
View ArticleHow to run 1000 user concurrently using Jmeter and Selenium Webdriver in...
I try to run 10 user accessing a website concurrency by using Selenium Webdriver in JUnit and it caused my PC to lag because it open 10 Browser at the same time. I even tried to run Jmeter in Command...
View ArticleC# Selenium looping through XPath results
How can i loop through each result from same Xpath? My code:IList<IWebElement> base =...
View ArticleHow to click a svg element using Selenium and SafariDriver? [duplicate]
This question already has an answer here:Selenium WebDriver: clicking on elements within an SVG using XPath 8 answersHow to click on SVG elements using XPath and Selenium WebDriver through Java 2...
View ArticleSelenium not working properly if tab not visible in python
I have created a browser scraping script which sends a message on WhatsApp web using selenium in python but yesterday noticed a that its sending half message or not sending messages. Debugged it and...
View ArticleSelenium navigation through selenium keep looping (python)
I'm just started using selenium to scrape the table from webpage. So, I implemented the navigation of webpage using selenium. But, the the result keep looping when I run the code. Pretty sure that I...
View ArticleCannot click element in selenium - But both css & xpath are validate paths
I cannot click this element, tried CSS selector and Xpaths. Can anyone help, keep getting invalid selector, XPath/cannot locate element. Yet when I use the inspector to validate these elements they are...
View ArticleProblem adapting code: scraping Goodreads reviews
I came across OmarEinea's GoodReadsScraper on Github (https://github.com/OmarEinea/GoodReadsScraper) and would like to use his scripts to scrape the English reviews of all editions of some English...
View ArticleFacing issue to handle more then two window with selenium webdriver
public class Abc{ @Test public void test() throws InterruptedException{ System.setProperty("webdriver.gecko.driver", System.getProperty("user.dir")+"\\src\\test\\java\\drivers\\geckodriver.exe");...
View ArticleHow to find web elements in web-view via Selenium WebDriver (Java API)?
I'm using the Selenium WebDriver (Java API) to test an electron/chromium based application. The login page of this application has a web-view (<webview>...</webview>) which loads a...
View Articleselenium.common.exceptions.SessionNotCreatedException: Message: session not...
when i go to command prompt and type chromedriver -v:ChromeDriver 79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614}) but when i try to run this code :from selenium...
View ArticlePython Detect url decode with URL parse
Hi Ive tried to decode the URL IF present but it doesn't seems to work:here is the error shown bellow:Traceback (most recent call last): File "E:\Users\Francbicon\Desktop\Bots\Master Copy\Shopee...
View Article