All Questions
108 questions
0
votes
1
answer
49
views
Unable to get a handle on the auto-suggestion dropdown in an angular based website using python selenium
I am trying to automate work-flow using python-selenium in a website made using angular. However, I am not able to automate auto-suggestion dropdown.
When i input the suggestion key using send-keys ...
0
votes
1
answer
55
views
How to get the verify in selenium Python
I am writing a test for cancel a data request at the page: https://school.moodledemo.net/admin/tool/dataprivacy/mydatarequests.php
There is a pop-up when cancel a data request
My code to catch this:
...
-1
votes
1
answer
111
views
Chrome browser closes immediately after being launched with selenium
Hello im trying to run the following code in python.
from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from webdriver_manager.chrome import ...
4
votes
5
answers
33k
views
ChromeDriver is outdated, how do i update it?
Im currently learning Selenium automation with python and im using chromedriver.
Im having an issue running this simple script:
from selenium import webdriver
from selenium.webdriver.chrome.service ...
1
vote
2
answers
277
views
Browser closes automatically after script execution
This following code runs without any errors, but it automatically closes Google Chrome after the script completes.
import time
from selenium import webdriver
from selenium.webdriver.chrome.service ...
-2
votes
1
answer
66
views
ERROR: module or package not found: (missing __init__.py?) - PyCharm - Python [closed]
I'm trying to perform som automated tests on PyCharm but I'm getting the following error:
ERROR: module or package not found: (missing __init__.py?)
enter image description here
enter image ...
0
votes
1
answer
143
views
Selenium cannot interact with an accordion-item
I've been trying to get an autmation test running for a site, I can successfully log in and land at the dashboard. However when trying to click on a module from a sidebar menu, selenium is not able to ...
0
votes
0
answers
32
views
ElementClickInterceptedException QA automation
ElementClickInterceptedException, suggests that the button you're trying to click with the CSS selector "button.btn.btn--primary.nextStep[data-step-target='#step3']" is not clickable because ...
-1
votes
1
answer
185
views
Selenium with Python- How to access a HTTP request and assert the content in real time
I'm a QA automation Jr and I'm using Selenium with Python for my tests.
What I need at the moment is to access the requests during the test and asserting it´s content.
For example, performing a login, ...
2
votes
0
answers
40
views
Trouble with Using Unit Test in Python
I'm making an auto grader for professors to upload a folder of code submissions and a test folder, and my program should run the tests and return a grade. I'm having trouble using the test suite in ...
1
vote
5
answers
345
views
what does driver : WebDriver mean in an __init__ function
I was completing a tutorial on selenium webdrive and I saw this, Does anyone know what is happening, what does driver:WebDrive mean?
def __init__(self, driver: WebDriver):
self._driver = ...
1
vote
0
answers
84
views
how to set value to a EditText from appium python?
I have tried the following code but it is not working.
from appium import webdriver
from appium.webdriver.common.mobileby import MobileBy
desired_caps = {
'platformName': 'Android',
'...
0
votes
2
answers
761
views
Why am I getting 'NoneType' object has no attribute 'sendkeys' error in Python 3.11.3 Selenium automation with Chrome 113.0.5672.127?
I am using selenium 4.9.1, Chrome Version 113.0.5672.127 (Official Build) (64-bit)
python 3.11.3, I am trying to run a selenium function which uses sendkeys():
Error: Traceback (most recent call last):...
0
votes
0
answers
125
views
Want to select an element by xpath, but it same xpath value in multiple tab
I want to select an element by xpath, but it has the same value in multiple tabs, the only one which different is the class set name when that tab is selected like "morning_select" and it is ...
0
votes
1
answer
544
views
Implementing Automation for Functional Testing from scratch - Selenium, Python, PyTest
I am currently a manual tester for a very large and complex application (there is no automation testing at all).
Currently I am solo working on automating everything with selenium. It is my initiative,...