Skip to content
Advertisement

Tag: selenium-webdriver

When using Pool.map from integrated Python’s multiprocessing, program works slower and slower

Here is a similar question Why does python multiprocessing script slow down after a while? Sample of code that uses Pool: After few iterations the program slows down and finally it becomes even slower than without multiprocessing. Maybe the problem is that the function related to Selenium? Here is full code: Answer You are creating 6 processes to process 14

document.scrollingElement is not working . Not able to scroll down for inspecting elements

Please find the aatched screenshot. and Below code is printing only first 4-5 rows which is visible in the screenshot. It is not scrolling down and inspecting element it is prining blank spaces. Same code is running succesfully without i write code written in main function outside the function. add_data.py -> Answer May be you need to scroll to each

Advertisement