-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added missing navigation methods #35
Conversation
45746a1
to
c5be4bf
Compare
@ThomasLandauer Please give us your opinion regarding the names of these new methods. |
c5be4bf
to
9b85e5d
Compare
Sure :-)
|
Answers to @ThomasLandauer questions:
reloadPage and restartBrowser are very simple wrappers for BrowserKit methods. WebDriver reloadPage method is a very simple wrapper for a single browser function too: https://github.com/Codeception/module-webdriver/blob/1.2.0/src/Codeception/Module/WebDriver.php#L2089-L2093 |
|
@ThomasLandauer I have no objection to the name being 'resendLatestRequest', I prefer that you decide those things. I just want to know if you are totally sure you prefer that one, as |
https://martinfowler.com/bliki/TwoHardThings.html Short answer: A non-programmer won't understand this anyway ;-) Long answer: Again: The use case I'm seeing is repeating POST, PUT, DELETE etc. - not just "reloading" (GET) the page, since in a testing scenario this would be useless (what could have changed?). If that's a wrong assumption, tell me!
So I stick to my opinion ;-)
|
That's enough for me. I think
Yes, in that sense I leave the hard part to you haha :-) Thank you. |
@TavoNiievez are you going to rename it? Better explanation of behaviour in the docblock would help to avoid some of confusion that you discussed above. |
I couldn't get the tests for this new feature to pass at the time. |
Still a WIP.
Added methods:
To do:
Fixes #33