Codeception / module-webdriver

WebDriver module for Codeception
MIT License
36 stars 25 forks source link

Adding details to `reloadPage()` #118

Open ThomasLandauer opened 10 months ago

ThomasLandauer commented 10 months ago

Please doublecheck:

  1. Is this really true? I couldn't verify it in the source code - don't know what DriverCommand::REFRESH actually does.
  2. Is ['css' => 'body'] the best selector here?
ThomasLandauer commented 10 months ago

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?