I'll use the document of js. GetElementsByName remove the read-only attribute, selenium can analog input the user name, but by clicking the login button, or prompted to enter the user name
Also checked the information online, is the content of the input is changed, but no corresponding js event trigger, selenium input user name or an invalid
To solve all the situation should be how to deal with
CodePudding user response:
You are according to find_element_by_id this kind to find the label element, this kind of thing for id,Note carefully whether within the iframe, within the iframe is switch_to. The first frame (), you click event or use webdriver simulation, simulated all the way down to