Tips &Tricks Blog

0

error: pathspec did not match any file(s) known to git

Have you encountered the following error while checking out a branch. error: pathspec ‘foo’ did not match any file(s) known to git. Solution: git fetch It will synchronizes your local repository with the remote...

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...