Scraping text from webite using Selenium
I've managed to get to a stage where i can open up this website https://vehicleenquiry.service.gov.uk/ConfirmVehicleEnter a vehicle registration number, click continue, click yes this is the right...
View Articleselenium-side-runner can't find the chromedriver
I installed selenium-side-runner and the browser driver, in my case, Chrome Driver.When i put chromedriver -version in cmd responds correctly: I have also added the folder where chromedriver.exe is...
View ArticlesetValue method in Nightwatch is not working
I am trying to setup a new Nightwatch project and trying to automate simple google search page, my assert for searchbox present on page passes but i am not able to perform and mouse/keyboard action on...
View ArticleWhat do I do about IEDriverServer's repeating "Awaiting new window. Aborting...
I'm running a local Selenium test in Internet Explorer and upon clicking a particular link (that has some JavaScript tied to the onclick attribute), the test hangs until canceled. I'm running Selenium...
View ArticleProviding unknown number of parameters as Junit CsvSource
I'm working on test automation for shop basket module and I'm struggling with providing test data using Junit CsvSource in the 'nice way'.So far my test looks like this@ParameterizedTest(name = "Total...
View ArticleScript will not locate Twitter's password field
In this super basic python script using Selenium, I am just trying to automate my twitter login so I can begin scraping. When the chrome session opens, the username is filled out, but the password...
View Articlecucumber test case not failing insted steps shows as passed
I have a step in cucumber feature file where it validates the status. if the status doesn't match, it should fail the test script.Here in my code, it is passing. i have tried returning Boolean values....
View ArticleRunning .py script from cmd fails. cant find module 'selenium'
I know this has been talked about before but I cant seem to find the correct way to make it work.I have a python script that imports the selenium module (opens a website, sleep for 3 sec and closes...
View ArticleGetting "element not visible" using selenium python for SAP EPM browser...
I am trying to automate an SAP EPM Application using Selenium Python. It's a browser based application. I am able to open the home page, after that I have to click on one tile. But I was unable to...
View ArticleRselenium Unable to create session (Win10/Firefox)
I am trying to use Rselenium on a WIN10 PC, see the code.library(stringr) library(RSelenium) rD <- rsDriver(browser = "firefox") remDr <- rD$client This is running well on my current PC (win8.1)...
View ArticlePlotly Dash: auto submit once last input box/entire form has been filled
Currently, I have set up a page to take 3 inputs and return a status (pass/fail) after a submit button is clicked. However, I’d like to make the data entering process more efficient by automatically...
View ArticleHow to dynamically add jobs to a Scrapy/Selenium spider?
I'm using Scrapy + Selenium to scrape Facebook friends data. I want to write a program that would take 2 usernames as input, recursively scrape their friendlists until a chain that connects the 2 users...
View ArticleIs there a simple way to add @ResourceLock on a @BeforeEach method to allow...
I have a parameterized JUnit test running Selenium code. I've defined my class as follows:@ExecutionMode(CONCURRENT) class TestFixture { @BeforeEach @ResourceLock(value="configuring", mode=READ_WRITE)...
View ArticleHow to parse twitter followers of a certain account?
I am trying to parse followers` nicknames from a twitter account (https://twitter.com/oldLentach/followers).This is how I detect the nicknames along with some unnecessary stuff, which can be easily...
View Articlexpath found in chrome/firefox console, but not found by selenium?
xpath found in chrome/firefox console, but not found by selenium ? any suggestion ? And try chropath(chrome plugin) none of them work: Java code both way: List<WebElement> Elements =...
View ArticleHow to skip a specific pending API response from loading in Selenium WebDriver?
There are possibilities of some 3rd party APIs that keep hanging sometimes, letting the actual tests to fail with the timeout error. Is there some hack to specifically skip such pending API responses?
View ArticleJavascriptException when using Actions class from selenium
I'm trying to clickAndHold and moveByOffset using Actions class by Selenium. But getting org.openqa.selenium.JavascriptException: javascript error: Cannot read property 'left' of undefinedCode:actions...
View ArticlePython Selenium Cannot find element using absolute xpath div
I have read over a days worth of webpages and stackoverflow posts and Ive gotten to the point where I "mostly" get a dynamic xPath to click on but its not clicking...The objective is to dynamically...
View ArticlePython / Selenium script behaves differently each time I run it
Windows 10, Selenium 3.141.59, geckodriver 64-bit 0.26, python 3.7.1I upload serial numbers to Cisco (https://cway.cisco.com/sncheck/ which redirects to a Cisco identity log in page) to ensure...
View ArticleTrying to webscrape 'hellopeter.com' can't dig into the actual review
I'm trying to make an automated system that will build a database of reviews on a company from hellopeter.I want to apply sentiment analysis on this dataset i have tried using beautiful soup but i cant...
View Article