Category "selenium"

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

How do I grab an element and a class with selenium (Python)?

I'm trying to do some automation testing where I will need to grab an element to choose the right quality video. The problem here is that I tried CSS Selector,

Selenium - wait until element is present, visible and interactable

I have a Selenium script (Python) that clicks a reply button to make the class anonemail appear. The time it takes for the class anonemail to appear varies. Bec

WebDriverException: Message: Service chromedriver unexpectedly exited. Status code was: 127

I'd like to construct my crawler using selenium on my server. Thus I had installed/download required dependencies- such as chromedriver, chromium-browser etc o

Selenium webdriver node.js (gecko driver) won't work with Ubuntu server 20.04.4 LTS on a cloud server

I have a pretty simple node.js app that I can run perfectly fine on my Mac and My other ubuntu server server on 22.04 LTS, but it won't run on this oracle cloud

How do I get selenium to open my electron app?

I'm attempting to setup Selenium to test my electron app. So far I have the code from the Electron documentation, however, this only opens the HTML file, not my

JS Script to get attribute value using JavaScriptExecutor and selenium

Can somebody help me with a js script that would get an value for an attribute? I would prefer to use as locator an xPath HTML Element: <td class="WarningMes

Selenuim IDE - Test upload box with supported extensions

I have to create test steps within Selenium IDE to test file upload feature. The allowed file extensions are JPG, PNG, BMP, JPEG, so if a user tried to upload s

Selenium sync with google account

i've created function using selenium undetected chromedriver in order to create a google chat with email specifeid. And every time i run my code i have to log i

Possible to open/display/render a headless Selenium session?

I know this is sort of counter to the purpose of headless automation, but... I've got an automation test running using Selenium and Chromedriver in headless mo