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

Allow getting window handle in W3C mode

Open aik099 opened this issue 1 year ago • 2 comments

The $session->window()->handle(); code had several issues:

  1. the URL queried for the window handle was /session/{session id}/windowsession/{session id}/window
  2. there was a PHP Notice, where a returned window handle (for me it was always a string) was treated as an array

Both issues are addressed in this PR.

aik099 avatar Mar 19 '24 15:03 aik099