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

@robocoder , pleas review.

aik099 avatar May 12 '24 05:05 aik099

@robocoder , please review.

aik099 avatar Jul 18 '24 09:07 aik099

@robocoder , please review.

aik099 avatar Oct 31 '24 18:10 aik099

Thank you.

aik099 avatar Mar 28 '25 07:03 aik099