Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 97750 articles
Browse latest View live
↧

After resizing/expanding div size, while releasing action it comes back to...

I am trying to click and hold resizable handler and then moving mouse by x and y offset and then releasing the mouse to expand div. After releasing the Action div comes back to its Default size. I ll...

View Article


Skip Test cases based on URL

I have different projects for web ordering. I have POM framework with TestNG and maven. I have multiple test cases that I have automated in different projects depending upon flows. Flows can be:Takeout...

View Article


copy a multi line variable to clipboard python

my code calls a program and copies output to a variable info = os.popen('info filename').read()which outputs a multi line sting line line1 : ABC line2 : (efg) line3 : ABCDEFG! (hijkl)...

View Article

Architecture problem with using another class method in cucumber project

I recently joined to automated test Java project which uses Cucumber and Selenium. It is used to test web application. Project structure is divided into 3 layers:feature files - which contains cucumber...

View Article

Image may be NSFW.
Clik here to view.

Using Selenium and ChromeDriver, automatically scale the size of the page on...

I'm writing a script to automatically print a set of web pages in Chrome. If I were to print them manually, I'd choose "Custom" from the Scale drop down and enter 50 into the input field below.I can't...

View Article


Selenium Firefox Python running in headless mode Timeout on initializing driver

Firefox version: 60.9.0esr (32-bit)Selenium version: 3.141.0Geckodriver version: 0.24.0 (32-bit)So everything currently works in non-headless mode. But I need to run this python script in a GUI-less...

View Article

Web scraping with Laravel and Selenium

I am currently using Python in web scraping. I used Selenium and Beautifulsoup libraries in order to scrape. I recently know the Selenium works for php/Laravel.My question is, could I scrape the web...

View Article

How do I open Firefox and set a new profile as default? (selenium and Python)

Okay so I wasted a whole day self research and failed. So help? I made a profile and all I'm trying to do is open Firefox under that profile as and have it set as a default. This is my codefrom...

View Article


i need to get loop for data email line by line

i need to get loop for data email line by line and at change admin@email.com to list email like emails.txt and looping for email by email with python selenium# -*- coding: utf-8 -*- from selenium...

View Article


Image may be NSFW.
Clik here to view.

performance.getEntries() not getting updates

I'm trying to get a json of all the past network entries from a streaming website. Here's a screenshot of where I see those network entries:Once you press the play button, the website loads .acc files...

View Article

Python Selenium Custom FireFox Profile keep data without discarding them...

i have a website that i want to login to and it should stay like that for multiple sessionsI tried pickle to save cookies once logged in and then load the cookies when running the script again but this...

View Article

Can't use chrome driver for Selenium

I'm having trouble using the Chrome driver for Selenium. I have the chromedriver downloaded and saved to C:\Chrome:driver = webdriver.Chrome(executable_path="C:/Chrome/") Using that gives me the...

View Article

Not able to enter text in a text box using protractor

I'm trying to click on a text box and enter a text. However protractor is not able to find the element. Here is my what i'm trying to do : const tenantName =...

View Article


Java Selenium Chromedriver.exe Does not Exist IllegalStateException

Here is the error message I'm getting:Exception in thread "main" java.lang.IllegalStateException: The driver executable does not exist: C:\Users\Scott\workspace\Twitch%20Bot%20v2\bin\chromedriver.exe...

View Article

Selenium: Error: WebDriverError: Invalid timeout type specified: ms

I have a problem using Selenium on IE.When I run npm run e2e:desktop command, Selenium launch and close immediately an IE page. Then, I got this error:E/runner - Unable to start a WebDriver session....

View Article


Scraping an Angular website with selenium and C# returns the angular script,...

This seems to be by design as far as I can tell. Selenium can see the initially loaded HTML, but not the HTML after it's been massaged. I've tried IE, Chrome and PhantomJS and they all show the same...

View Article

Selenium VB.Net 2019 Save canvas image

Using the Code given at this link by mehmet mecekI am attempting to Save the Image of Tag using Selenium VB.net 2019. My code for this action isDim ele = driver.FindElementByClassName("canvasWrapper")...

View Article


Selenium WebDriver in Ruby: Preventing the test from closing the browser...

I appear to be having the exact opposite problem many other people have - in that my Selenium tests in Ruby will close the browser window at test end, no matter what the end result is. Pass or fail, it...

View Article

why selenium webdriver are not allowing me to auto comment on facebook photos?

def comment_photo(self): bot = self.bot bot.get("https://www.facebook.com/CsharpCorner/photos /a.487296564614322.115393.194086953935286/1572378532772781/?type=3&theater") time.sleep(3) try:...

View Article

How to handle a new window in selenium when I opened it by javascript

Using selenium in internet explorer I have opened a new window with javascript code:((JavascriptExecutor) driver).executeScript("windows.open('www.google.com')"); When I try to move to that new window...

View Article
Browsing all 97750 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>