Category : selenium

Im trying to scrape the network traffic of http://live.jokerswidget.com/freelivematch/8534782740463890.html (or any of the links here wich follows the same structure http://live.jokerswidget.com/). I can see the m3u on the network console but i cant get it on Selenium. Here is my code: option = Options() option.add_argument("–autoplay-policy=no-user-gesture-required") option.add_argument("–auto-open-devtools-for-tabs") driver = webdriver.Chrome(chrome_options=option) driver.get(url) sleep(3) res=np.nan Resources = driver.execute_script("return ..

Read more

this buttons are not getting clicked agree_button = driver.find_element_by_xpath(‘//*[@id="rightsDeclaration"]’) submit = driver.find_element_by_xpath(‘//*[@id="submit-work"]’) def upload(): agree_button.click() time.sleep(1) submit.click() upload(): however i noticed that when the function is called, the url gets selected like this: Url selected when the function is called i tried locating with the id, the name , the xpath , everything and nothing ..

Read more

I’m attempting to get Selenium webdriver to select an option from a dropdown menu from the page referenced below. The drop down menu looks like this: <select name="_year" id="select1" onchange="this.form.submit();" style="width: 10%; font: 12px Arial;"> <option selected="">All Years </option><option>2018-19 </option><option>2017-18 </option><option>2016-17 </option><option>2015-16 </option><option>2014-15 </option><option>2013-14 </option><option>2012-13 </option><option>2011-12 </option><option>2010-11 </option><option>2009-10 </option><option>2008-09 </option><option>2007-08 </option><option>2006-07 </option><option>2005-06 </option><option>2004-05 </option><option>2003-04 </option><option>2002-03 ..

Read more

I’m attempting to follow this guide to make Chrome headless undetectable. https://intoli.com/blog/making-chrome-headless-undetectable/ The problem is, it seems to involve using Javascript and running scripts through the command prompt. I’m hoping to create an executable Python script with Selenium that I could use on multiple computers without manually setting anything up through command lines. I know ..

Read more