https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
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
# Usage: vagrant up windowsVersion-IEversion | |
# | |
# Eg. vagrant up win10-edge | |
# | |
# Based off of: # https://gist.github.com/anthonysterling/7cb85670b36821122a4a | |
boxes = { | |
# http://www.vagrantbox.es/ | |
"xp-6" => "http://aka.ms/ie6.xp.vagrant", | |
"xp-8" => "http://aka.ms/ie8.xp.vagrant", | |
"vista-7" => "http://aka.ms/ie7.vista.vagrant", |
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
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Postman | |
Exec=postman | |
Icon=/home/USERNAME/Postman/app/resources/app/assets/icon.png | |
Terminal=false | |
Type=Application | |
Categories=Development; |
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
#!/usr/bin/env python | |
import os | |
import platform | |
""" | |
Utility functions for determining Operating System info at runtime. | |
- *Module*: runtime_os_info | |
- *Platform*: Unix, Mac, Windows |
This is a quick "how to run" if you already have everything Robot Framework-related installed. This Gist might be especially handy for those you either just starting out, or if you've inherited a code-base from someone else.
The following assumes you have a terminal (CMD or PowerShell on Windows, Terminal on Mac or Linux) and aren't afraid to use it.
cd
into the root directory of the Robot Framework files and test cases; we'll assume all test cases are somewhere within a directory namedtest_cases
.
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
# Starting with a generic "Open Browser to Page" keyword, following that are examples for: | |
# Google Chrome | |
# PhantomJS | |
# | |
# Assumed global or suite variables: | |
# ${browser} - the browser you want to use in testing | |
# ${delay} - the "speed" that Selenium verbs execute at | |
# ${user_agent} - User Agent string like: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 | |
# | |
# Note: The documentation is written with the libdoc utility in mind. See: |
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
import time | |
from glance_dom import GlanceDom | |
from selenium import webdriver | |
driver = webdriver.Chrome() | |
driver.get('https://github.com/robotframework/SeleniumLibrary') | |
glance = GlanceDom(driver) |
OlderNewer