pychrome icon indicating copy to clipboard operation
pychrome copied to clipboard

A Python Package for the Google Chrome Dev Protocol [threading base]

Results 32 pychrome issues
Sort by recently updated
recently updated
newest added

How can I use 'Page.addScriptToEvaluateOnNewDocument' for all new opened tabs? If switching to a new tab init user by click link. Or use one injection for all new opened tabs

Sometimes I need to execute different sub methods in one event. I can only merge multiple methods and pass them in as new methods. Therefore, I think it may be...

hope to auto open chrome when ``pychrome.Browser()``

``` def loadingFinished(**kwargs): print('req is ',kwargs.get('requestId'),kwargs) _response = tab.Network.getResponseBody(requestId=kwargs.get('requestId')) _response_content = _response.get('body') print(_response_content[:100]) tab.set_listener('Network.loadingFinished',loadingFinished)``` pychrome.exceptions.CallMethodException: calling method: Network.getResponseBody error: No resource with given identifier found

Can I use this to perform "save all as HAR with content" in the network tab?

When sending POST requests, you need to carry parameters. So, Can you skip this part and directly simulate clicks? Thanks, Sincerely.

`tab.Runtime.evaluate(expression="new Date()", returnByValue=True)` it returns `{'result': {'type': 'object', 'value': {}}}` but not a datetime object, is there anyway to return date object but not transfer by timestamp ?

已经发生好几次,连续运行3小时左右,程序就会卡死,ctrl+c中止了程序,就得到了下面的报错信息,好像是线程超时了? ```python Traceback (most recent call last): File "test.py", line 174, in test() File "test.py", line 122, in test r.script.load_jQuery_script("jquery-3.4.1.slim.min.js") File "/root/code/robot/script.py", line 37, in load_jQuery_script res = self.run_script(script, 3000)...

即不用selenium驱动,去实现需登录后才能看到的界面的操作。 谢谢大佬

你好, 我在执行项目里面的demo脚本时,一直报错: (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')) 请问是我执行的方法哪里有问题吗?