Tips &Tricks

0

Selenium and xpath – locate an element using class attribute

Issue : Locate the following element using its Class. <div class=”globalContainer”> <div> … </div> </div> Resolution : You can write the following query in the browser console. $x(//div[@class=”globalContainer”]) Further Reading xPath locator Practical Examples

0

Selenium and xpath – locate an element using id attribute

Issue : Locate the following element using its ID. <div id=”globalContainer”> <div> … </div> </div> Resolution : You can write the following query in the browser console. $x(//div[@id=”globalContainer”]) Further Reading xPath locator Practical Examples

0

How to check whether your ubuntu is 64 bit

I recently started playing with docker and their prerequisite states that your ubuntu must be 64 bits. Here’s the command that helps you find the number of bits for your ubuntu uname -a On...

0

capture webRTC logs

Open Google Chrome Browser Navigate to the chrome://webrtc-internals/ Click on Create Dump as shown below Once the peer connection is established, to download the peerconnection data, Click on Download Peerconnections and stats data You...

0

chrome extension path on mac

Find the ID of the extension by going to chrome://extensions Go to your terminal and type the following (replace the ID with your extensions ID): sudo find . -type d -iname lmjegmlicamnimmfhcmpkclmigmmcbeh