ClericPy / ichrome

Chrome controller for Humans, based on Chrome Devtools Protocol(CDP) and python3.7+.
https://pypi.org/project/ichrome/
MIT License
227 stars 29 forks source link

bug tab.querySelectorAll #113

Closed snja closed 1 year ago

snja commented 1 year ago

querySelectorAll cant use index > 0

tags = await self.tab.querySelectorAll(t1) for i in range(len(tags)): await self.tab.querySelectorAll(t1, i, 'setAttribute("target","_blank")') time.sleep(3)

ClericPy commented 1 year ago

use tab.js with original Javascript instead of Python methods.

I will check that issue later.