Hide “com.gargoylesoftware.htmlunit..” Warnings Logs From Console In WebDriver

In previous post we learnt how to run your selenium test In HTML Unit driver or headless browser. If you are using HtmlUnit Driver to run your test, Sometimes you will see lots of warnings as a log with text like “com.gargoylesoftware.htmlunit.DefaultCssErrorHandler error“. This Is one kind of warning and we can eliminate It very easily. … Read more

What Is Headless/htmlunitdriver? How To Execute WebDriver Test In It?

What Is HtmlUnit Driver or Headless browser driver? HtmlUnit Driver or mostly It Is known as Headless browser driver Is based on HtmlUnit. HtmlUnit Driver Is same as Firefox or Chrome or IE driver Instance but HtmlUnit driver do not have GUI so you can not see your test execution on your screen. It Is something like … Read more

How To Delete Specific/All Cookies In Selenium WebDriver Test

Earlier we learnt how to extract all cookies of current domain In THIS POST and add new cookie for that specific domain In previous post In selenium WebDriver test. Cookies plays very Important role In any website and you must know how to add new cookie or delete specific or all cookies If you are test … Read more

How To Add New Cookie When Executing Selenium WebDriver Test

Earlier we learnt how to extract and print current domain cookie during test execution using selenium WebDriver In previous post. Sometimes you have a requirement like you have to add new cookie for website under test during selenium WebDriver test execution for some kind of testing purpose. Is It possible? Yes, Selenium WebDriver has Inbuilt class … Read more