-
Notifications
You must be signed in to change notification settings - Fork 286
Open
Description
Hi, new to this, but having a maybe basic question.
My script successfully opens a session, loads a page, sets a certain form field to my needs.
Now I did this to find the submit button to submit the form:
$page = $session->getPage();
$marke = $page->findField('marke');
$marke->setValue('stern');
$button = $page->findButton('startSearch');
$button->submit();But what now? How do I know this has worked? How do I get the resulting page?
I have tried:
$page2 = $session->getPage();
echo $session->getCurrentUrl();But this shows the title of the first page. So my guess the submit did not work as expected.
Any hint appreciated. Please advise.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels