wasmbrowsertest icon indicating copy to clipboard operation
wasmbrowsertest copied to clipboard

cross browser testing

Open joeblew99 opened this issue 2 years ago • 4 comments

this is designed for chrome.

anyone have any ideas about if we can extend this for Edge and Safari ?

joeblew99 avatar Mar 04 '22 10:03 joeblew99

rust seem to have something to cope with that: https://rustwasm.github.io/wasm-bindgen/wasm-bindgen-test/browsers.html

joeblew99 avatar Mar 04 '22 10:03 joeblew99

Yes, this is purely using the Chrome driver APIs. Happy to see a proposal supporting other browsers as well.

agnivade avatar Mar 05 '22 04:03 agnivade

@agnivade i think we can do it . Your main problem is "catching error" in console right? Have you think to inject some syscall replacement and use Javascript Reflection to handle error? This is something i do in hogosuru:

https://github.com/realPy/hogosuru/blob/develop/baseobject/baseobject.go

Take a look or contact me i have some idea to to this. I'm really hesitate to build my own solution to use all browser, but i think i's better if wasmbrowser can do it

realPy avatar Mar 15 '22 11:03 realPy

I'd really prefer to avoid doing call injections and reflection to achieve this. I'd rather this be supported properly in the driver.

agnivade avatar Mar 15 '22 15:03 agnivade

Closing this. Nothing has changed since last post.

agnivade avatar Sep 08 '23 09:09 agnivade