Please use the below link for the selenium videos playlist: 🔗 bit.ly/2FyKvxj
@purvidholakia35703 жыл бұрын
In your most of videos you explain something extras/advanced about selenium. Thank you so much.
@HYRTutorials3 жыл бұрын
Thankyou
@wilmergonzales21393 жыл бұрын
Estimado, estoy emocionado por tu Excelente contenido. Gracias. Estaré atento a tus videos. Saludos desde Perú. 🇵🇪
@HYRTutorials3 жыл бұрын
Gracias Querida, me alegro de que te guste el contenido. Por favor, comparta el canal y los videos con sus amigos / colegas. Hay más por venir.
@Imrankhan-xw4me2 жыл бұрын
A big thank you to bro. I was scratching my head for the same problem and I've found my solution. Let me apply this and I'll let you know if I have any issues
@HYRTutorials2 жыл бұрын
Sure buddy
@RahulMukerjee-i5v2 ай бұрын
I have tried using plugins.always_open_pdf_externally': True -- and in my case the Preview mode of the PDF still launches but it says "No Plugin Loaded". So it definitely disables viewing of the PDF but it doesn't download it or disable the PDF plugin? Please suggest.
@mutyalasunitha69183 жыл бұрын
Ur explanation is super sir
@HYRTutorials3 жыл бұрын
Thank you so much 🙂
@manjunathk66272 жыл бұрын
once the site is downloaded getting a kind of arrow at the bottom which is preventing from clicking on the browse button on the element and also when tried the other way there is some kind of adv page which comes- can you tell me how to overcome this problem
@HYRTutorials2 жыл бұрын
I can't imagine what exactly the scenario is Can u send me the video or screenshot on hyadagirireddytutorials@gmail.com
@RajeshP9 ай бұрын
Thank you for the video. I am trying to download an XML file in Edge browser and I am seeing a security pop-up stating that the download is blocked. I have tried various options, but none of them seem to work. Could you please advise me on this? var options = new EdgeOptions(); options.AddArgument("--safebrowsing-disable-download-protection"); options.AddUserProfilePreference("download.prompt_for_download", false); options.AddUserProfilePreference("savefile.default_directory", OutputFilePath); options.AddUserProfilePreference("savefile.prompt_for_download", false);
@swapnabhaskaruni2 жыл бұрын
felt like in this video you are talking a bit fast when compared to many of your other videos. Also, how do we know the preference keys , is there a document for it.
@HYRTutorials2 жыл бұрын
In the video I have shown some websites for options ryt? You can refer to those websites
@swapnabhaskaruni2 жыл бұрын
@@HYRTutorials I wonder how I missed it, thank you . Will check again
@swapnabhaskaruni2 жыл бұрын
@@HYRTutorials atleast with chrome options, you did not show the websites where we can find the preference keys
@HYRTutorials2 жыл бұрын
check out this: chromium.googlesource.com/chromium/src/+/HEAD/chrome/common/chrome_switches.cc
@raahulg62032 жыл бұрын
Please Help!! How to set capabilities using Javascript. Also, is there anyway to override the file, since system is adding (1), (2) like in file names or we can provide file name instead of system generated name.
@HYRTutorials2 жыл бұрын
Never tried this with javascript buddy
@archanamuthukrishnan64652 жыл бұрын
Hi can you please explain how to download pdf using webdriverio ?
@HYRTutorials2 жыл бұрын
No idea on that buddy
@RamaKrishna-ng4of2 жыл бұрын
sir how to download a file for particular location instead of downloading directly through selenium
@HYRTutorials2 жыл бұрын
Didn't get your question.
@vickydesai30205 ай бұрын
Which selenium java version is used in this
@nayanagopinath6692 жыл бұрын
The website shows Ads which fails the test script. how can we handle such Ads ,as its properties are dynamic ?
@HYRTutorials2 жыл бұрын
Usually the ads are present within the frames and we need to switch to the frame and then close the add by clicking on x mark
@ramji_192 жыл бұрын
Can you let me know which Edge browser version is being used?. My scenario is on clicking a link a file downloads and I need to set the download path to another directory. I use Edge 96 and the edge options specified as above is not working for me.
@HYRTutorials2 жыл бұрын
At the time of recording this video i had a different version of edge browser and now i have a different version buddy
@ramji_192 жыл бұрын
Hi. I tried the same method you used but I used selenium tools for the edge options alone and that solved the issue. The package of selenium doesn't work for edge options so I had to use selenium tools package for edge options for chromium edge.
@HYRTutorials2 жыл бұрын
Yes buddy. i guess i have mentioned that point in the video ryt?
@shankarlingam4702 Жыл бұрын
Hi bro, I am getting open button in the pdf preview once I click on the button then only doc is getting downloaded in the specifed file path and may I know how to handle dis scenerio? Thanks!
@HYRTutorials Жыл бұрын
which browser u r using buddy?
@sanjeevyadav6148 Жыл бұрын
In this i am writing same code which show at 8.53 but in my case its not working ads is popup and getting error element click intercepted
@sanjeevyadav6148 Жыл бұрын
help with this reddy sir
@HYRTutorials Жыл бұрын
Try to apply some scrolling and then perform the operations buddy
@madhankumar22643 жыл бұрын
For Edge experimental option is not working, which selenium version is used
@HYRTutorials3 жыл бұрын
Did you watch the complete video? I have shown the edge with both selenium 3 and selenium 4.
@kumarshinge57472 жыл бұрын
Sir, Can we create new folder for every download and after verifying file it needs to delete downloaded file with created folder too In selenium Java? It is possible?
@HYRTutorials2 жыл бұрын
It is possible but you needed to play with the logic buddy. There is no direct way.
@SukoonLakeeroMe2 жыл бұрын
Hi, If we want to execute this script parallely on all browsers. Then this method won't work, can u suggest anything through which we can validate download feature parallelly for all browsers?
@HYRTutorials2 жыл бұрын
It works fine with parallel execution also buddy. What is the issue you are facing?
@subhakar90153 жыл бұрын
After clicking browse button it is showing one blocking ad having close and open buttons will you please tell me how to handle this (I tried swtich to alert,window handle, and also with in the same driver but not working)..Is there any other way to handle this type of blocking ads.
@HYRTutorials3 жыл бұрын
Usually the blocking ads or any kind of ads will be present inside the frames. So try to identify the frame then perform the operations after switching to the frame.
@subhakar90153 жыл бұрын
@@HYRTutorials I tried but i'm getting NoSuchElementException I used explicip wait also...but no use
@HYRTutorials3 жыл бұрын
@@subhakar9015 thankyou brother 😊
@saisrinadhporandla8200 Жыл бұрын
I have tried it but not. Working can you pls. Share the laste. Code
@HYRTutorials Жыл бұрын
What is the error you are getting buddy?
@mobinfrancis16073 жыл бұрын
good video. I'm struck with an issue now, for me, I have a scenario like, when i'm clicking to download the pdf in my office application,it opens a window and I need to click on "save", after that I need to select the location to save. may I know how can we achieve this.
@HYRTutorials3 жыл бұрын
Usually the file download option is like that only but when we use the options as shown in the video then it automatically take care of that.
@mobinfrancis16073 жыл бұрын
@@HYRTutorials thanks for responding. But unfortunately this is not happening. I'm using mac by the way.
@HYRTutorials3 жыл бұрын
@@mobinfrancis1607 ohhh ok Have to check as I haven't tried in mac anytime.
@chaithanyasindham962 жыл бұрын
Nice video , can you please explain after downloading the file how can we open the file and validate the text in the pdf .
@HYRTutorials2 жыл бұрын
Try this video: kzbin.info/www/bejne/b4DCqmytfpyDZqM
@chaithanyasindham962 жыл бұрын
@@HYRTutorials thank you so much for getting back to me and sending the link 🙏🙏
@ankitashewale54152 жыл бұрын
How to handle Keep discard message while downloading any file in java selenium.
@HYRTutorials2 жыл бұрын
Never tried that buddy. Will check it
@ankitashewale54152 жыл бұрын
@@HYRTutorials please try this one because i have tried so many things but still not resolved this issue
@myWayIn619 Жыл бұрын
Hello Sir, Where can I read about these categories and keys? I need help locating information about it. Many thanks!!!
@HYRTutorials Жыл бұрын
Check the description buddy
@yashpanchal51482 жыл бұрын
Brother, how about IE driver? I want to save a webpage itself in the pdf format to a specific folder in my framework in IE Browser. Can anyone help pls?
@HYRTutorials2 жыл бұрын
In the latest version of selenium you can save the webpage as PDF buddy. Irrespective of the browser type, you can achieve that
@HYRTutorials2 жыл бұрын
try this code buddy: import org.openqa.selenium.print.PrintOptions; driver.get("www.hyrtutorials.com"); printer = (PrintsPage) driver; PrintOptions printOptions = new PrintOptions(); printOptions.setPageRanges("1-2"); Pdf pdf = printer.print(printOptions); String content = pdf.getContent();
@Biswamber_Khandei3 жыл бұрын
But that file location one is not working for it is showing errors at the time of saving the script
@HYRTutorials3 жыл бұрын
for which browser?
@Biswamber_Khandei3 жыл бұрын
Thank you so kuch dear , I really great full to you.
@HYRTutorials3 жыл бұрын
Always welcome
@priyadarshiniMG Жыл бұрын
it is grateful..not great full...spelling mistake and wrong word used🤗
@archanamuthukrishnan64652 жыл бұрын
Hello Sir I need to open PDF in Edge browser but it is getting automatically downloaded through selenide. But normally it is opening in seperate window.how can change its configuration to make PDF open in new window Instead of downloading? Please help sir stuck here
@HYRTutorials2 жыл бұрын
I have the shown the configuration for downloading here buddy. But if you tweak that configuration you can probably open that in the edge browser without downloading
@archanamuthukrishnan64652 жыл бұрын
@@HYRTutorials yes you are right. I tried to change options of plugins_always_open_ pdf_externally as true/false still for both options it is getting downloaded instead to open in new browser .any specific code you know to open directly in new window?
@HYRTutorials2 жыл бұрын
@@archanamuthukrishnan6465 no idea buddy
@ilavarasansriraman41403 жыл бұрын
Thank u so much brother ✨
@HYRTutorials3 жыл бұрын
Welcome 😊
@ilavarasansriraman41403 жыл бұрын
@@HYRTutorials Keep doing it ☺
@RahulShinde-xs9rl3 жыл бұрын
Please Help!! How to execute same operations using Python.
@HYRTutorials3 жыл бұрын
It will be mostly same brother. Here is some sample code FYR: options = webdriver.ChromeOptions() ; prefs = {"download.default_directory" : "}; options.add_experimental_option("prefs",prefs);
@idwessough60873 жыл бұрын
@@HYRTutorials Please how to do it with Edge Webdriver (Selenium 4 in Python) Thank you so much
@sainathvallampatla51353 жыл бұрын
Hi, how to check or validate the downloads on remote nodes?
@HYRTutorials3 жыл бұрын
Just like how you will verify in the local system.
@sainathvallampatla51353 жыл бұрын
@@HYRTutorials I ran my scripts with jenkins but when the step to find the local path, script got failed and blocked the other test cases
@HYRTutorials3 жыл бұрын
@@sainathvallampatla5135 did the download happened successfully? I mean the exception is in downloading part or verification part?
@telugumovie32592 жыл бұрын
Anna OrengeHRM and freecrm Ela login avvalo vedio upload cheyyandi anna
@HYRTutorials2 жыл бұрын
Vaati login screens meedane username and passwords untai buddy. So selenium lo username and password fields ni oidentify chesi credentials enter chesaka login button ni click cheyyali.
@fernandomdcn29202 жыл бұрын
Great tutorial, you could make a video teaching how to download using playwright with python
@HYRTutorials2 жыл бұрын
Never tried with that buddy
@fernandomdcn29202 жыл бұрын
@@HYRTutorials thanks
@vishnunanditaramisetty24062 жыл бұрын
Reddy garu nice explanation, I have small query, below line works for all the filetypes? prefs.put("plugins.always_open_pdf_externally", true); Kindly confirm.
@HYRTutorials2 жыл бұрын
Not exactly buddy. Using automation we can download any file directly into our system except the PDF file. So to overcome that we use this option. Other file types can be downloaded directly
@arthiuvaraj793 жыл бұрын
Tanks a lot
@HYRTutorials3 жыл бұрын
You are welcome
@sudhirgoyal15143 жыл бұрын
CAN YOU HELP ME TO DOWNLOAD FILE FROM www.gst.gov.in i have creditionals. and already develop program to download file but it takes too much time
@HYRTutorials3 жыл бұрын
If the download is taking too much time it doesn't mean your script is not good, it means your network speed is less. So we can't do anything.
@shahistashaikh47162 жыл бұрын
tried this code but instead of downloading the pdf it is opening another chrome window. can you please share your inputs on this. i am writing this code in a function and then calling it in another function.
@HYRTutorials2 жыл бұрын
We can it anywhere but make sure it is actually setting the configuration before the driver initialisation. otherwise even though u have called the same code, it wont be taken into consideration.
@ilavarasansriraman41403 жыл бұрын
Best !!! Best!!! Best !!!
@HYRTutorials3 жыл бұрын
Thankyou 😊
@aparajitachaudhuri95222 жыл бұрын
your videos are really good but you are telling in speed so cant understand properly.
@HYRTutorials Жыл бұрын
Can you reduce the speed by using playback settings in KZbin buddy.
@xbytu3 жыл бұрын
nice video, you got my support.gl
@HYRTutorials3 жыл бұрын
Thankyou 😊
@captain_92633 ай бұрын
Please telugu provide in telugu
@peacelilly2200 Жыл бұрын
Hello, Your video is really helpful. I am trying to do it, but somehow the ads are pop-ing and interrupting to click the element. I am getting the exception org.openqa.selenium.ElementClickInterceptedException. Is there any way I can block the ads? I tried on other sites also, but facing the same problem. The ad's are coming when only doing it through automation. Manually the ad's are not coming. Thank you for video
@HYRTutorials Жыл бұрын
You can perform the scroll operations using JavaScriptexecutor and then perform the click operations buddy.