Firefox, Selenium, Todataurl, Uint8clampedarray And Python
I am accessing image data on Javascript. Now I'd like to pass this to Python process through Selenium API in the most efficient possible manner. Passing canvas data is easy with c
Solution 1:
Since your communication between Selenium and the browser through getEval is string based, I think that there is no escape from base64 encoding the image data. sending raw binary data will probably not be possible.
You can probably devise your own string encoding scheme, but it'll probably be as effective as the built in methods.
Baca Juga
- How To Quit All The Firefox Processes Which Gets Initiated Through Geckodriver And Selenium Using Python
- Notadirectoryerror: [errno 20] Not A Directory: '/home/ghost/automation/pwd/geckodriver' With Geckodrriver Firefox And Selenium Using Python3
- What Is Wrong With This Selenium Firefox Profile To Download File Into Customized Folder?
Post a Comment for "Firefox, Selenium, Todataurl, Uint8clampedarray And Python"