Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Automate simple & repeated browser tasks
Search
Tadashi Nemoto
October 25, 2017
Programming
74k
1
Share
Automate simple & repeated browser tasks
はじめての英語プレゼン #4
https://english-lt.connpass.com/event/67958/
Tadashi Nemoto
October 25, 2017
More Decks by Tadashi Nemoto
See All by Tadashi Nemoto
コンテナイメージの脆弱性を削減する新しいアプローチ:Hardened Container Images
tadashi0713
1
90
Best Practice CI/CD Pipeline for Deploying Container Apps to AWS
tadashi0713
0
270
Scalable and cloud-native mobile game CI/CD environment using Unity
tadashi0713
0
170
Migrating your mobile CI/CD environment to a scalable cloud solution using CircleCI
tadashi0713
0
270
Speed matters: Advanced CI/CD techniques to improve development velocity, quality & security
tadashi0713
0
330
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
390
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
640
デプロイ頻度を10倍にした、ブランチ戦略とGitHub Actions on AWS ECS
tadashi0713
8
4.5k
Creating parallelized Android UITest (Appium) environment using Azure, Docker and Android emulator
tadashi0713
0
4.3k
Other Decks in Programming
See All in Programming
Skillは並べた。動かなかった。契約で繋いだ。— 65個のSkillから、自走する開発サイクルへ
junholee
0
660
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
290
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
260
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
190
cloudnative conference 2026 flyle
azihsoyn
1
200
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
580
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
190
要はバランスからの卒業 #yumemi_grow
kajitack
0
170
関係性から理解する"同一性"の型用語たち
pvcresin
2
260
書き換えて学ぶTemporal #fukts
pirosikick
2
380
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
140
なぜあなたのコードには「コシ」がないのか?〜AI時代に問う、最後まで美味しい設計と戦略〜 #phpconkagawa / phpconkagawa2026
shogogg
0
210
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
Six Lessons from altMBA
skipperchong
29
4.2k
HDC tutorial
michielstock
2
670
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
300
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
390
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
170
Believing is Seeing
oripsolob
1
130
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
570
Designing Powerful Visuals for Engaging Learning
tmiket
1
370
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.7k
Transcript
2017/10/25 Tadashi Nemoto Automate simple & repeated browser tasks
Introduction • Tadashi Nemoto • github: tadashi0713 • QA-SET Team
@mercari • Automation Engineer
Many repeated browser tasks • Give member account • Get
image of graph & send to Slack • Get specific data in page • Download file from page • Fill form same content • etc
Some services need browser operation for automating these tasks Selenium
Tools to automate browser tasks
Use headless chrome • Either need when running selenium in
non display environment • Virtual display • Xvfb, Xdummy • Headless browser • PhantomJS, Chrome 59
Using headless chrome is easy • Installing chromedriver via gem
https://github.com/flavorjones/chromedriver-helper
Easy to write code for browser automation • driver.get ‘https://www.google.co.jp’
• driver.find_element(:id, ‘hoge’).click • driver.find_element(:id, ‘hoge’).send_keys ‘hoge’ • driver.find_element(:id, ‘hoge’).text • driver.save_screenshot(‘path/to/screenshot.png’)
How to trigger build • cron • https://circleci.com/docs/2.0/workflows/ #scheduling-a-workflow •
Create slack bot or slash command
Thank you!