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
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:
what is the HTML of the startSearch button and the actual form tag of it?
Recommendations:
I recommend replacing $button->submit(); with $button->click();, because:
$button->submit(); will only work, for a form submit button (that works without any JavaScript)
$button->click(); will click on the button and that's what the real user does
check the page submission fact by searching for a page element, that would only be present on a successful page submit (or maybe checking the page title)
wait some time until page actually reloads to perform any checks
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:
But what now? How do I know this has worked? How do I get the resulting page?
I have tried:
But this shows the title of the first page. So my guess the submit did not work as expected.
Any hint appreciated. Please advise.
The text was updated successfully, but these errors were encountered: