This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I am trying to utilize your code to extract all of the inspect elements from a site similar to your original post. the problem is, when I run (even with your site you were using, it errored and showed the error I presented.
@Reggie1995 just by looking at your code what catches my eye is that you are not correctly specifying the path to the driver. See in my original post that Python needs / instead of \ in the path definition.
I need your help with the python tool i am using in my code. I am using selenium to connect to a server ( a site ) to download the data from the site. Clicking on the URL, downloads the .csv file to my download folder on my desktop. Could you please help me with a code so that i could handle the csv file in python output that could be utilised in my workflow instead downloading that to my downloads folder.
Below is the code that downloads the file to my downloads folder -
I think you are not running this section of the code that imports Alteryx package
from ayx import Alteryx
#install the selenium and urllib3 packages
#you may need to elevate privileges for running Designer to admin for doing this
I have the same problem. I am trying to download some html content which is rendered using viewer.js and pdf.js so I was thinking of using this script to get that exact element but I keep getting the exception that
Loading took too much time!
There are no errors other than that and I am able to download the page source but since the rendering is done using JS I don't the element that I need.
I have tried using the sample code provided by you but even then I get the same exception. I have also tried to increase the delay but to no avail. Please help me out. I am fairly new to python and alteryx but this is a really important task that I need to complete as soon as possible. I am attaching my workflow with this. Please find the same below. Any help is really appreciated. Thanks