Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Automate simple & repeated browser tasks
Search
Tadashi Nemoto
October 25, 2017
Programming
74k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
400
Best Practice CI/CD Pipeline for Deploying Container Apps to AWS
tadashi0713
0
300
Scalable and cloud-native mobile game CI/CD environment using Unity
tadashi0713
0
190
Migrating your mobile CI/CD environment to a scalable cloud solution using CircleCI
tadashi0713
0
300
Speed matters: Advanced CI/CD techniques to improve development velocity, quality & security
tadashi0713
0
360
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
420
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
670
デプロイ頻度を10倍にした、ブランチ戦略とGitHub Actions on AWS ECS
tadashi0713
8
4.6k
Creating parallelized Android UITest (Appium) environment using Azure, Docker and Android emulator
tadashi0713
0
4.4k
Other Decks in Programming
See All in Programming
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
160
速習iPhone Duo対応
yuukiw00w
2
960
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
440
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
310
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
120
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
34
15k
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
120
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
390
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.8k
Simple Storage Service(S3) is not simple
iwatsukayura
0
200
Domain-Driven Transformation
hschwentner
2
2.3k
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
330
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
350
We Are The Robots
honzajavorek
0
390
The Cost Of JavaScript in 2023
addyosmani
55
10k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
720
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
76k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
360
Visualization
eitanlees
153
17k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
510
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!