module-webdriver
module-webdriver copied to clipboard
Adding details to `reloadPage()`
Please doublecheck:
- Is this really true? I couldn't verify it in the source code - don't know what
DriverCommand::REFRESHactually does. - Is
['css' => 'body']the best selector here?
Hold on! $I->pressKey(['css' => 'body'], \Facebook\WebDriver\WebDriverKeys::F5); isn't working! I'm now doing it with $I->executeJS('location.reload();'); - is there a better way?