How I can extract the JavaScript code by scrapy [on hold]
How to I can extract email from this datascrapy shell...
View ArticleHow do I pass information from CSV into my Selenium(Python) automation program?
everyone. I am automating the process of creating blackout dates using selenium. Thus far, I am able to successfully create one blackout date with the script that I have written. What I need to do is...
View ArticleFrame operation xPath locator issues in web bots
I was trying iFrame after going through the iFrame chapter but i get error while locating elements after switching to the desired frame. the xPath i am trying is copied from the inspector but still it...
View ArticleHow to fix test automation code using Selenium with C#?
I am working on automated tests for the first time using Selenium with C#. I am following some instructions as a beginner from this link. However, it is not working. It says 1 Test failed. I have the...
View ArticleInvalidArgumentException: Malformed URL: bashdress is not a valid URL
I'm trying to upload images to instagram through keywords. But it tells me that my url is not valid. Can someone help me, please? my code:
View ArticlePython Selenium Chrome: use internal IP instead of external IP
I have a following part of code:chrome_opts = webdriver.ChromeOptions() chrome_opts.add_argument("--no-sandbox") chrome_opts.add_argument("--disable-infobars")...
View ArticleRestAssured - Testing Restful API using Selenium and Test NG - when run...
I am testing a Weather Rest API using Restassured and TestNG framework. Following is the code: I made sure I have all the dependencies covered in pom.xml file This is the error:...
View Articleassert.istrue returning null value
When I run my selenium tests using .net frame and C# I am getting Message: Object reference not set to an instance of an object.{ landingPage = new LandingPageCode(driver); driver = new ChromeDriver();...
View ArticleWhat is Selenium Automation-Atoms
I noticed selenium-atoms project in selenium repository. According to the wiki this project exposes some common APIs similar to selenium language implementations like click, type and findElement. I...
View ArticleI am getting cucumber.runtime.cucumberexception:couldnot load plugin...
Can anyone recommend which version dependencies in pom file should i use for Java 13.I am trying to generate extent report.But getting below error cucumber.runtime.CucumberException: Couldn't load...
View ArticleWeb Scraping app using Scrapy / Selenium generates Error:...
Good morning!I have recently started learning Python and moved onto applying the little I know to create the monstrosity seen below.In brief: I am attempting to scrape SEC Edgar...
View ArticleBasic authentication with geb
Iam using selenium and geb to automate tests, I need to pass basic authentication parameters, been searching but so far I have no idea how to do it, I've tried:import geb.Page import geb.Browser class...
View ArticleComparison of tests execution time that is written with Selenium IDE and...
My test suite is written with Selenium IDE and contains around 45 tests. It is executed in GitLab CI using docker(compose of chrome driver and selenium-side-runner). Execution time of my test suite...
View ArticleError when I run auto test with browser. How run it?
I need to run autotests. But both in Safari and in FireFox, such an error occurs. Safaridriver cannot be installed in Safari with version 10+. I tried to add drivers for these browsers to the project,...
View ArticleWait for page to fully load with webdriverjs
What's the best way to wait for a page to fully load using selenium-webdriver for javascript? I noticed this question is quite similar but I need an implementation in javascript.var webdriver =...
View ArticleHow to verify whether an WebElement is displayed in the viewport using...
Consider the following scenario,The webpage is displayed along with a vertical scroll barScroll bar is present at the bottomWebElement 'Test' is present at the top of the page and is now not visible in...
View ArticleOne of my scripts is causing others in the same directory to have problems...
I have multiple scripts in my python directory for pulling up various websites and logging me in and doing various other tasks. They work perfectly fine until I created another script to log into my...
View ArticleWebDriver in javascript: how to check if an element exists?
How can I check if an element exists in selenium?I have tried:browser.driver.findElements(by.id('my-id'))but it does not seem to work.
View ArticlePython with selenium: unable to locate element which really exist
I've been trying fill input: <input id="PASSFIELD1" class="logField" type="password" onkeyup="next(this, event);" maxlength="1" autocomplete="off" name="PASSFIELD1"></input> To do this, I...
View ArticlePython Selenium accessing HTML source
How can I get the HTML source in a variable using the Selenium module with Python?I wanted to do something like this:from selenium import webdriver browser = webdriver.Firefox()...
View Article