au3WebDriver icon indicating copy to clipboard operation
au3WebDriver copied to clipboard

Review / enhance functionality of _WD_Frame* functionality

Open Danp2 opened this issue 5 years ago • 3 comments

  • Proper setting of @error flag
  • Standardization with other UDF functions

Danp2 avatar Nov 01 '19 19:11 Danp2

Is this still a valid issue ?

mlipok avatar Aug 24 '22 22:08 mlipok

_WD_FrameEnter should be fine after all the recent updates. Looking at _WD_FrameLeave, I think it would be wise to review the coding associated with processing the webdriver response.

Danp2 avatar Aug 30 '22 16:08 Danp2

AFAICS, all browsers are returning the same result for a successful switch to parent frame.

Firefox

__WD_Post: URL=HTTP://127.0.0.1:4444/session/78ef96d8-6bbd-472a-a1da-f43a5880fc29/frame/parent; Data={}
__WD_Post ==> Success [0] : HTTP status = 200 ResponseText={"value":null}
_WD_Window ==> Success [0] : Parameters:   Command=parent   Option={}
_WD_FrameLeave ==> Success [0]

Chrome

__WD_Post: URL=HTTP://127.0.0.1:9515/session/df4215a669b23dbedcf1da8927935b6a/frame/parent; Data={}
__WD_Post ==> Success [0] : HTTP status = 200 ResponseText={"value":null}
_WD_Window ==> Success [0] : Parameters:   Command=parent   Option={}
_WD_FrameLeave ==> Success [0]

Edge

__WD_Post: URL=HTTP://127.0.0.1:9515/session/eb4e5d6887c1c4bd9f2c76912f53f41a/frame/parent; Data={}
__WD_Post ==> Success [0] : HTTP status = 200 ResponseText={"value":null}
_WD_Window ==> Success [0] : Parameters:   Command=parent   Option={}
_WD_FrameLeave ==> Success [0]

Opera

__WD_Post: URL=HTTP://127.0.0.1:9515/session/266228571a93c951178f846ac1451c51/frame/parent; Data={}
__WD_Post ==> Success [0] : HTTP status = 200 ResponseText={"value":null}
_WD_Window ==> Success [0] : Parameters:   Command=parent   Option={}
_WD_FrameLeave ==> Success [0]

Danp2 avatar Sep 02 '22 15:09 Danp2