Warning: include(/mounted-storage/home30b/sub003/sc26705-WCCK/seleniumstutorial.com/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 70 Warning: include(/mounted-storage/home30b/sub003/sc26705-WCCK/seleniumstutorial.com/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 70 Warning: include(): Failed opening '/mounted-storage/home30b/sub003/sc26705-WCCK/seleniumstutorial.com/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:/usr/local/php54/lib/php:/storage/content/94/1008094/pear/php') in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 70 Warning: include_once(/mounted-storage/home30b/sub003/sc26705-WCCK/seleniumstutorial.com/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 90 Warning: include_once(): Failed opening '/mounted-storage/home30b/sub003/sc26705-WCCK/seleniumstutorial.com/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:/usr/local/php54/lib/php:/storage/content/94/1008094/pear/php') in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 90 Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/storage/content/94/1008094/seleniumstutorial.com/:/storage/configuration/wrappers/94/1008094/seleniumstutorial.com/:/tmp/) in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-includes/functions.php on line 1618 Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/storage/content/94/1008094/seleniumstutorial.com/:/storage/configuration/wrappers/94/1008094/seleniumstutorial.com/:/tmp/) in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-includes/functions.php on line 1618 Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/storage/content/94/1008094/seleniumstutorial.com/:/storage/configuration/wrappers/94/1008094/seleniumstutorial.com/:/tmp/) in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-includes/functions.php on line 1618 Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/storage/content/94/1008094/seleniumstutorial.com/:/storage/configuration/wrappers/94/1008094/seleniumstutorial.com/:/tmp/) in /storage/content/94/1008094/seleniumstutorial.com/public_html/wp-includes/functions.php on line 1618 Others – Selenium's Tutorial

Category: Others

Getting innerHTML of an element using RemoteWebDriver

As of now there is no straightforward way to get innerHTML of an element using RemoteWebDrive in any of the languages but we can get it using the javascript way

 

Taking screenshots in Selenium with Ruby

Find the below that can be used to take screenshots in Selenium when you writing your Automated code in Ruby  

 

Taking screenshots in Selenium with Javascript

Using the below code we can even take screenshots with Javascript and the most important thing is this Javascript can be executed by any language using the Javascript executor  

 

Closing a Browser Window using different methods

Generally we use methods like driver.quit() or driver.close() to close the browser window.But sometimes it’s better to use other methods like actions which are available

   

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!