You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set the value of mock_human to be True, attempting to type into a field won't actually type anything. Removing the parameter makes it function properly.
Works and allows input fields to be typed into:
with initialResp.render(headless=False) as page:
time.sleep(3)
page.awaitNavigation()
page.awaitSelector('#signInName')
page.type('input#signInName', email) # Does type here
page.type('input#password', password) # Does type here
page.click('#next')
Does not work:
with initialResp.render(mock_human=True, headless=False) as page:
time.sleep(3)
page.awaitNavigation()
page.awaitSelector('#signInName')
page.type('input#signInName', email) # Does not type here
page.type('input#password', password) # Does not type here
page.click('#next')
The text was updated successfully, but these errors were encountered:
I think that's intended behaviour, you should try using .click on element before .type:
with initialResp.render(headless=False) as page:
time.sleep(3)
page.awaitNavigation()
page.awaitSelector('#signInName')
page.click('input#signInName')
page.type('input#signInName', email) # Does type here
page.click('input#password')
page.type('input#password', password) # Does type here
page.click('#next')
When I set the value of mock_human to be True, attempting to type into a field won't actually type anything. Removing the parameter makes it function properly.
Works and allows input fields to be typed into:
Does not work:
The text was updated successfully, but these errors were encountered: