how to download the file to a specific directory instead of the default folder ? i am not able to change the download folder when using selenium on an Already Opened Browser pls help
You can move the downloaded files to a specific folder and then use them in the project. Also, you can use a maven project, where you can dependencies in the pom.xml file, It is easier to download the dependencies.
@@IlyaArlenka When used as a unit test for some purpose, it can save time. If you only need to test a portion of the application in a real-time project, you can do so. This feature can be used in any situation where it is beneficial.
I got following error once run the test. org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: cannot connect to chrome at localhost:1010 Anyoption to fix this. I have use setBinary() method as well. but still cannot fix it
Can you please do the same on edge?
how to download the file to a specific directory instead of the default folder ? i am not able to change the download folder when using selenium on an Already Opened Browser pls help
pls help out using python preferably
You can move the downloaded files to a specific folder and then use them in the project. Also, you can use a maven project, where you can dependencies in the pom.xml file, It is easier to download the dependencies.
And what are the pros for this way? I didn't get it, sorry
It is a concept in Selenium. It's your choice where you want to implement it.
I mean as far as I remember you said that it can save a lot of time. So I cannot see how it can save time
@@IlyaArlenka When used as a unit test for some purpose, it can save time. If you only need to test a portion of the application in a real-time project, you can do so. This feature can be used in any situation where it is beneficial.
I got following error once run the test. org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: cannot connect to chrome at localhost:1010
Anyoption to fix this. I have use setBinary() method as well. but still cannot fix it
Same issue
@@sravaniyajamanam1329 Same issue