Category "selenium"

Selenium and Python - Bot for Instagram Login

I'm trying to create a bot to access instagram, but I don't understand why it's giving an error, here's the code: from time import sleep from selenium import w

How can I ignore the exception if the item is not found? Selenium(selenide)

Several of my tests refer to importBrokerCheckBox. But not all tests have to find it, because he must be absent. That is, if the element is on the page, then we

ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

For some reason I get the following error only when I open up a nested webdriver instance. No idea what is happening here. I am using Windows 10, geckodriver 0

Selenium-Wire Your Connection Is Not Secure

I'm using selenium-wire with undetectable chromedriver and it's giving me: "Your Connection To This Site Is Not Secure" when I go into a site, and the https in

Pytest - Extract data generated by test run to a file/ fixture in conftest?

I am using Pytest framwork for testing a web applications. While the tests run, it generates data and store them into variables. Example: @pytest.mark.usefixt

Finding element with class name with spaces not working (selenium)

I'm trying to find this element inside a log-in page when a user inputs the wrong password <div class="form-input-validation is-error" role="alert"><

WebDriver Sample with Java error - Encountered "WDS"

I am using java as scripting language in JMeter 3.0 and jmeter-plugins-webdriver-1.4.0.jar. When I run my script which is supposed to open a browser and go to g

How to automate login to a site which is detecting my attempts to login using selenium-stealth

So, I'm trying to write a script to login on https://us.etrade.com/e/t/user/login I am using Selenium for this but it somehow detects selenium when it starts an

How can we use Selenium Webdriver in colab.research.google.com?

I want to use Selenium Webdriver of Chrome in colab.research.google.com for fast processing. I was able to install Selenium using !pip install selenium but the

Embedd selenium browser in pyqt5 application

from selenium import webdriver from selenium.webdriver.chrome.service import Service from webdriver_manager.chrome import ChromeDriverManager from selenium.webd

How do I locate elements inside a canvas for robotframework automation testing?

I'm using robotframework and python to write automation test cases. But for Tableau graph, it is inside a canvas tag. I want to click some elements (dynamic) in

I can not select list item in selenium

What is the script for selenium in li tag. I used Xpath in selenium. driver.findElement(By.xpath(" //*[@id='select2-product_cat-container']")).click() ; But

How to integrate screenshots in allure report with webdriverIO

I'm trying to generate screenshots in my allure reports after each step in my test or just a single screenshot at the end of the test. I have referred to the we

How to find element with selenium on python?

import os import selenium from selenium import webdriver import time browser = webdriver.Chrome() browser.get('https://www.skysports.com/champions-league-fixtu

choosing the youtube video quality by using selenium in Python

I'm having an issue to select the video quality resolution from the youtube video https://www.youtube.com/watch?v=JhdoY-ckzx4. import unittest import time from

Parallel tests in Android with cucumber, appium and testNG in java

I have 5 real devices in which I want to execute 20 tests, for example: 4 tests in each device in parallel, that is, in device 1 test 1 is executed, when the te

Opening inspect (pressing F12) on Chrome via Selenium

I am able to open Chrome via Selenium, but am unable to simulate a key press (specifically F12, since I want to open Inspect and eventually use the mobile brows

Selenium won't keep a drop down open when it clicks it

I am coding python with selenium trying to automate some processes. I have gotten the hang of most of it but I have reached an issue I have seen before. When I

Need the number of total pages on a website to iterate but selenium keeps timing out

i'm triying to fix a data crawler that until last couple of weeks was working perfectly. The script consist of two parts, one that retrieves the links of the ar

C# equivalent to Java Robot class

What is the C# equivalent to Java Robot class for mouse pointer movements? As Actions class cannot be used directly for keyboard and mouse. I need to move my mo