What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-08 20:09:12
when do you use javascript in your framework
Sometimes browser don’t react well against selenium commands and we may face issues while locating web elements. To overcome such kind of situation, we use JavaScriptExecutor interface. It provides mechanism to execute Javascript through Selenium d... Add solution -
Other 2021-11-08 19:33:13
single design pattern
Singleton Design Pattern is basically limiting our class so that whoever is using that class can only create 1 instance from that class. I create a private constructor which limits access to the instance of the class. Than I create a getter metho... Add solution -
Javascript 2021-11-06 21:23:17
read qr code from image javascript
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Decode QRCode from image using javascript</title> </head> <body> <input type="button" id... Add solution -
Html 2021-10-14 15:05:07
html value attribute
<!-- The value attribute is used to for example fill data to an input --> <input type="text" value="I was already filled" id="textInput"> <!-- The value can be set or copied using JavaScrpit --> <script... Add solution -
Javascript 2021-09-28 06:24:02
disable element js
//Using Javascript //Disabling a html button document.getElementById("Button").disabled = true; //Enabling a html button document.getElementById("Button").disabled = false; //Using jQuery //Disabling a html button $('#Button').att... Add solution