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
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
import os | |
def handler(data, context): | |
title = "title-placeholder" | |
try: | |
driver = create_chrome_driver() | |
driver.get("https://google.com/") | |
title = driver.title |
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
let isActive = true; | |
function waitForForm() { | |
const forms = document.querySelectorAll('form[id^="hsForm_"]'); | |
if (forms[0]) { | |
// Execute your code once the form is found | |
const evervault = new Evervault('team_197bf4c38e3c', 'app_8ad48da07b77'); | |
isActive = false; | |
const existingTextarea = document.querySelectorAll('textarea[id^="message-"]'); | |
existingTextarea[0].removeAttribute('name'); | |
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 main | |
import ( | |
"crypto/tls" | |
"crypto/x509" | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
"net/url" |