Open avilabss opened 4 years ago
As far as I readed, wapi.js is injected vía regular driver.execute_script()
, then you can access WAPI javascript class for interacting. The same than when you want to inject JQuery.
No, I'm asking about the first 100 lines of the WAPI.js file where he is injecting the "WAPI" object into "window" by using "parasite" into "webpackjsonp" which contains all the necessary methods to drive the whole frontend. I'm interested in knowing the working of that.
I really found this cool and wish to know what exactly is happening and how can I say replicate this on other websites who don't have any official APIs.