Closed samyeid closed 9 months ago
dublicate to https://github.com/kaliiiiiiiiii/Selenium-Driverless/issues/70
please make sure you have selenium-driveress==1.6.2
installed
dublicate to #70 please make sure you have
selenium-driveress==1.6.2
installed
i already installed selenium-driveress==1.6.2` but i show this error how to fix it please?
dublicate to #70 please make sure you have
selenium-driveress==1.6.2
installedi already installed selenium-driveress==1.6.2` but i show this error how to fix it please?
well then I unfortanely don't know either haha:) Maybe try with a newer version of chrome or//and windows
got the same
Traceback (most recent call last):
if len(driver.find_elements(By.XPATH,'//a[descendant::*[text()="Venom Chrome Extension"]]')) > 0:
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium_driverless\sync\webdriver.py", line 38, in syncified
return self._loop.run_until_complete(res(*args, **kwargs))
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 647, in run_until_complete
return future.result()
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium_driverless\webdriver.py", line 675, in find_elements
return await target.find_elements(by=by, value=value, parent=parent)
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium_driverless\types\target.py", line 552, in find_elements
return await parent.find_elements(by=by, value=value)
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium_driverless\types\webelement.py", line 305, in find_elements
return await self.execute_script(scipt, value, serialization="deep", timeout=10, unique_context=True)
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium_driverless\types\webelement.py", line 757, in execute_script
return await self.__exec__(script, *args, max_depth=max_depth, serialization=serialization,
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium_driverless\types\deserialize.py", line 183, in __exec__
base_obj_id = await self.__obj_id_for_context__(exec_context)
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium_driverless\types\webelement.py", line 147, in __obj_id_for_context__
res = await self.__target__.execute_cdp_cmd("DOM.resolveNode", args)
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium_driverless\types\target.py", line 742, in execute_cdp_cmd
result = await self.socket.exec(method=cmd, params=cmd_args, timeout=timeout)
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\site-packages\cdp_socket\socket.py", line 69, in exec
return await asyncio.wait_for(self._responses[_id], timeout=timeout)
File "C:\Users\Four\AppData\Local\Programs\Python\Python39\lib\asyncio\tasks.py", line 479, in wait_for
return fut.result()
cdp_socket.exceptions.CDPError: {'code': -32000, 'message': 'No node with given id found'}
how can i fix this error :
cdp_socket.exceptions.CDPError: {'code': -32000, 'message': 'Could not find node with given id'}
please