module-webdriver icon indicating copy to clipboard operation
module-webdriver copied to clipboard

Adding details to `reloadPage()`

Open ThomasLandauer opened this issue 1 year ago • 1 comments

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 avatar Jan 16 '24 11:01 ThomasLandauer

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?

ThomasLandauer avatar Jan 16 '24 21:01 ThomasLandauer