-
Open a browser
# start an instance of firefox with selenium-webdriver driver = Selenium::WebDriver.for :firefox # :chrome -> chrome # :ie -> iexplore
- Go to a specified URL
| <head> | |
| <meta charset="utf-8" /> | |
| <link rel="icon" href="{{IMAGE_URL/IMAGE_PATH}}" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no"> | |
| <meta name="theme-color" content="{{SITE_THEME_COLOR}}" /> | |
| <meta name="description" content="{{SITE_DESCRIPTION}}" /> | |
| <meta property="og:description" content="{{SITE_DESCRIPTION}}" /> | |
| <meta data-react-helmet="true" property="og:title" content="{{SITE_TITLE}}"> | |
| <meta data-react-helmet="true" property="og:type" content="Website"> | |
| <meta data-react-helmet="true" property="og:url" content="{{SITE_URL}}"> |
| import { useEffect, useState } from 'react'; | |
| interface ItwBreakpoints { | |
| [key: string]: string; | |
| } | |
| // This is straight from default tailwind config. | |
| // Would have loved to use resolveConfig but | |
| // you try to get it to work with ts. | |
| const twBreakpoints: ItwBreakpoints = { |