This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Very nice web page</title> | |
</head> | |
<body background="white"> | |
<h1>Welcome!</h1> | |
<p>This is a paragraph. It rocks!</p> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package se.wendt.statoil.mastercard; | |
import java.util.ArrayList; | |
import java.util.concurrent.CountDownLatch; | |
import redis.clients.jedis.Jedis; | |
import redis.clients.jedis.JedisPubSub; | |
public class JedisTest { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.addEventListener('keydown', function(event) { | |
if ((event.metaKey || event.ctrlKey) && event.key === 'Enter') { | |
let buttons = document.getElementsByClassName("uiButton"); | |
for (let i = 0; i < buttons.length; i++) { | |
let button = buttons[i]; | |
if (button.attributes && button.attributes["data-selenium-test"]) { | |
if (button.attributes["data-selenium-test"].value === "UniversalSaveBar-button-primary") { | |
button.click(); | |
break; | |
} |
OlderNewer