Below code is for opening a URL in google chrome by selenium webdriver. (for more information check the comment text in the code).
package mypackage; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class Signup { public static void main(String[] args) { // TODO Auto-generated method stub //path of chrome driver and set property to your chrome driver String exepath = "C:\\Users\\abc\\Downloads\\chromedriver_win32//chromedriver.exe"; System.setProperty("webdriver.chrome.driver", exepath); WebDriver driver = new ChromeDriver(); //launch chrome and direct it to the URL driver.get("http://www.testingtreasure.com"); //maximize window driver.manage().window().maximize(); //close browser driver.close(); } }
Very useful article.Some valuable tips on how to open URL in Google Chrome Help browser.Waiting for new updates.
ReplyDeleteGreat Article
DeleteFinal Year Project Domains for CSE
Project Centers in Chennai
JavaScript Training in Chennai
JavaScript Training in Chennai
Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.selenium training in bangalore
ReplyDeleteBy watching this now I have cleared all my doubts on How to open URL in Chrome Browser using Selenium Web driver.
ReplyDeleteFor Selenium Online Training | Selenium Training
Nice post.. Really you are done a wonderful job.thank for sharing such a wonderful information with us..please keep on updating..
ReplyDeleteBest cloud Computing Training Institute in Chennai | Best cloud Computing Training Institute in Velachery
This comment has been removed by the author.
ReplyDeleteThis Post is really nice and informative..
ReplyDeleteFinal Year Project Center in Chennai | Final Year Project Center in Velachery
amazing blog. This is really more effective and informative blog. I like it! Thanks for sharing!
ReplyDeleteBest Microsoft Azure Training Institute in Chennai |Best Microsoft Azure Training Institute Velachery
Interesting and Nice article, thanks for sharing your information and valuable time.... keep on rocks....
ReplyDeleteMCA Project Center in Chennai | MCA Project Center in Velachery
I really like your post..Keep sharing..
ReplyDeleteBest Power System Project Center in Chennai | Power System Projects in Velachery
Excellent blog! The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
ReplyDeleteSummer Course for Computer Science in Medavakkam | Summer Course for Computer Science in Tambaram | Summer Courses for Computer Science in Velachery
Very Useful information that i have found. don't stop and Please keep updating us..... Thanks
ReplyDeleteSummer Courses for Android in Perungudi | Summer Courses for IOS in Velachery | Summer Courses in OMR
It is very nice Information, Thanks for sharing it...
ReplyDeleteSummer Courses for Business Administration | Best Summer Course in Porur
Impressive blog with lovely information. really very useful article for us thanks for sharing such a wonderful blog...
ReplyDeleteSummer Courses in Perungudi | Summer Courses in OMR | Summer Courses in Velachery
Extraordinary blog. you put Good stuff. All the themes were clarified briefly.Thanks for sharing that post.Keep in blogging…
ReplyDeleteSummer Courses in Adyar | Summer Courses in OMR | Summer Courses in Velachery
Great blog.you put Good stuff.All the topics were explained briefly.so quickly understand for me.I am waiting for your next fantastic blog.Thanks for sharing.
ReplyDeleteSummer Courses for Android in Perungudi | Summer Courses for IOS in Velachery | Summer Courses in OMR
ReplyDeleteThis is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information, this is useful to me…
Summer Camp for Kids in Chennai | Summer courses in Shozhinganallur | Summer classes in Chennai
This is great information for youngsters those really seeking for the updated technology and thanks for the valuable post...No.1 Summer Training Courses in Porur | Best Summer Courses for Hardware Networking in Chennai
ReplyDeleteWow superb...Thank you for sharing the fantastic article,keep updating such a interesting post..
ReplyDeleteBest Summer Courses for Hardware and Networking in Chennai | No.1 Vacation Classes in Guindy
Nice Post,But need to do some modification any how good content Keep on updating the content
ReplyDeleteIts Very Good Information I Clarified How to open URL in Web Browser Thanks for Sharing..,
ReplyDeleteBest Software Training Institute in Chennai
Best Online Training Institute in Chennai
Your blog is very useful for me, Thanks for your sharing.
ReplyDeleteMSBI Training in Hyderabad
Very interesting blog which helps me to get the in depth knowledge about the technology, Thanks for sharing such a nice blog..
ReplyDeleteGood discussion.
Six Sigma Training in Abu Dhabi
Six Sigma Training in Dammam
Six Sigma Training in Riyadh
This comment has been removed by the author.
ReplyDeleteMake your luck smile, go to the website of the online casino BGAOC and win without a hitch. good casino machine games Take the winnings constantly and without restrictions.
ReplyDelete