seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
5.16k stars 958 forks source link

Unable to record keystrokes #2680

Closed forrlm closed 5 months ago

forrlm commented 5 months ago

When the input element is

, the keyboard input does not will be logged, the following is the code generated by the log, but I did enter 1234 from seleniumbase import BaseCase BaseCase.main(__name__, __file__) class RecorderTest(BaseCase): def test_recording(self): self.open("URL") self.type('input[placeholder="Enter your email address"]', "123@qq.com") self.click('button:contains("Continue")') self.type("input#one-time-code", "") environment:win11 pyhon3.11 chrome(lastest)seleniumbase(lastest)