#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
| import asyncio | |
| import random | |
| from pathlib import Path | |
| from playwright.async_api import BrowserContext, async_playwright | |
| CWD = Path().resolve() | |
| # Example path | |
| user_data_dir = Path.joinpath(CWD, 'playwright/data_dir/chromium') |
| <!-- test pass with CryptoJS v3.1.2 --> | |
| <script src="rollups/tripledes.js"></script> | |
| <script src="components/mode-ecb.js"></script> | |
| <script> | |
| /** | |
| * Encrypt message by DES in ECB mode and Pkcs7 padding scheme | |
| * | |
| * NOTE: DES is weak, please use 3DES(Triple DES) or AES | |
| * | |
| * @param {String} message |
| # config/cucumber.yml | |
| default: --tags ~@wip | |
| new: --tags @wip:2 --wip | |
| # see cucumber-rails wiki for interesting ways to use this file to run cucumber how you want (link here) |
| *** Settings *** | |
| Library AppiumLibrary 15 run_on_failure=Log Source | |
| Library Process | |
| Suite Setup Spawn Appium Server | |
| Suite Teardown Close Appium Server | |
| Test Teardown Close Application | |
| *** Variables *** | |
| ## Go here to download the apk for the app used in this test -> https://drive.google.com/file/d/19FxLjux8ZtumweXzBA_CYrL0Va-BL4gY/view?usp=sharing |
#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
#Getting Started
##Webpage:
<html>
<head>
<title>Testing with Ruby and Selenium WebDriver</title>
</head>
<body bgcolor="antiquewhite">
| -- Remove the history from | |
| rm -rf .git | |
| -- recreate the repos from the current content only | |
| git init | |
| git add . | |
| git commit -m "Initial commit" | |
| -- push to the github remote repos ensuring you overwrite history | |
| git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git |
| #!/bin/bash | |
| echo "removeing evaluation key" | |
| rm ~/.IntelliJIdea15/config/eval/idea15.evaluation.key | |
| echo "resetting evalsprt in options.xml" | |
| sed -i '/evlsprt/d' ~/.IntelliJIdea15/config/options/options.xml | |
| echo "resetting evalsprt in prefs.xml" | |
| sed -i '/evlsprt/d' ~/.java/.userPrefs/prefs.xml |