Well explained. I was stucked in redbus push notifications only and the example in this video is made on redbus itself. 👍
@Mukeshotwani4 жыл бұрын
Thanks Asif 👏🤘
@sourabhbhovar47172 ай бұрын
Thank you so much it was so helpful. It works 🙏🏻
@Mukeshotwani2 ай бұрын
Hi Sourabh, I am glad it helped.
@tapaspaul87575 жыл бұрын
Hi, Mukesh, for chromeoptions, after writing the code push notifications is coming again. so how to disable?
@Mukeshotwani5 жыл бұрын
Can u share the code ?
@tapaspaul87575 жыл бұрын
@@Mukeshotwani public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", "C:\\Driver\\selenium jar files\\chromedriver_win32 (2)\\chromedriver.exe"); ChromeOptions opt= new ChromeOptions(); opt.addArguments("--disabled-notifications"); WebDriver driver= new ChromeDriver(opt); driver.get("www.redbus.in/");
@shaiksameer27765 жыл бұрын
I think you should disable in Chrome settings for that particular site and then run the code once again
@sabyasachigoswami14683 жыл бұрын
How to click Allow on Show Notifications popup using Selenium Webdriver
@Mukeshotwani3 жыл бұрын
You cant click, you can allow or dismiss via ChromeOption.
@smartpatel80932 жыл бұрын
But how ???
@hiteshmotwani83664 жыл бұрын
Hi Mukesh , My application alert has yes/no selection and the switchto.alert.accept is working if I the run the code on local machine . However if the same code is run over selenioum grid , the alert disappears even before script reaches to it . Could you please guide me on this issue ?
@Mukeshotwani4 жыл бұрын
You can add explicit wait which dynamically wait for alert and then handle the same. Many times when you are working on grid on VM and if application is slow or VM is responding slow then script fails because of these issues.
@hiteshmotwani83664 жыл бұрын
@@Mukeshotwani thanks
@krishnasai18175 жыл бұрын
Hi mukesh ,chromeoptions are properly i am passed to chromedriver but its not working? is anything more i need to setup
@ImVK405 жыл бұрын
explain your problem in brief
@Mukeshotwani4 жыл бұрын
Please share ur code.
@chandu23rd405 жыл бұрын
Thank you Mukesh... One more very helpful video as always....
@Mukeshotwani4 жыл бұрын
Thanks Chandu
@Aparnafoodie4 жыл бұрын
I gave the same code for the same site not working can you please help
@Mukeshotwani4 жыл бұрын
Hi Aparna, please share the code My email is mukeshotwani@learn-automation.com
@Aparnafoodie4 жыл бұрын
@@Mukeshotwani I shared
@Mukeshotwani4 жыл бұрын
@@Aparnafoodie replied over email.
@Aparnafoodie4 жыл бұрын
@@Mukeshotwani got it thanks
@shaiksameer27765 жыл бұрын
Bhai how to handle action class for html5, because for some website I can't able to perform drag and drop, the page is developed with html5
@Mukeshotwani4 жыл бұрын
Please share urls so that i can try and provide solution.
@tarakothari31354 жыл бұрын
Can we provide browser notification handling (allow or block) in IE browser and SAFARI. If yes, how?
@rajeshnaidu32805 жыл бұрын
Hai I have one query Currently I'm using aws Linux server and I insalled katalon but how to connect my real device to that server. Please help me
@Mukeshotwani4 жыл бұрын
Hey Rajesh, you can use Selenium Grid and execute test on any cloud network.
@جياالحق4 жыл бұрын
How is it done in Python?
@Mukeshotwani4 жыл бұрын
Here is the code from selenium import webdriver import time options = webdriver.ChromeOptions() options.add_argument('--disable-notifications') driver = webdriver.Chrome(chrome_options=options) driver.get('python.org')
@جياالحق4 жыл бұрын
@@Mukeshotwani Thankyou soo much
@barbiedhamija22574 жыл бұрын
did it work for u ??
@barbiedhamija22574 жыл бұрын
@@Mukeshotwani I'm getting error on this line: driver = webdriver.Chrome(chrome_options=options)
@جياالحق4 жыл бұрын
@@barbiedhamija2257 from os import getcwd, system if (platform.system() == 'Windows'): driver = webdriver.Chrome(getcwd() + "\chromedriver.exe", options=chrome_options) if (platform.system() == 'Darwin'): driver = webdriver.Chrome(getcwd() + "/chromedriver", options=chrome_options)