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
I'm working on a test script using PHP and Panther which requires me to first login to my Google account to then access my app. I've tried a whole bunch of different ways of getting the script to click on the Next button during sign-in:
The button html for the Next button is the following:
The script executes without any error but in no_headless the button never gets clicked and I'm not able to proceed. Any thoughts and ideas on what I'm doing wrong here?
Thanks for the help in advance.
The text was updated successfully, but these errors were encountered:
Kronenu
changed the title
google account sign in button click on working
google account sign in button click not working
Oct 5, 2022
I'm working on a test script using PHP and Panther which requires me to first login to my Google account to then access my app. I've tried a whole bunch of different ways of getting the script to click on the Next button during sign-in:
The button html for the Next button is the following:
This is my script with Panther:
`use Symfony/Component/Panther/Client;
require DIR.'vendor/autoload.php';
$client = Client::createFirefoxClient;
$client->request('GET' 'https://accounts.google.com/ServiceLogin?service=mail&passive=true&Email=example@domain.com');
$client->executeScript('document.querySelector('VfPpkd-LgbsSe').click();
$client->quite();`
The script executes without any error but in no_headless the button never gets clicked and I'm not able to proceed. Any thoughts and ideas on what I'm doing wrong here?
Thanks for the help in advance.
The text was updated successfully, but these errors were encountered: