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
Selenium再入門
Search
Yu Watanabe
July 19, 2017
Technology
83
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Selenium再入門
W3C勧告とページオブジェクトパターンと私
Yu Watanabe
July 19, 2017
More Decks by Yu Watanabe
See All by Yu Watanabe
JUnitテストをCI環境で並列で実行する方法とその速度, スケーラビリティ
nabedge
6
3k
クラウド時代だからSpring-Retryフレームワーク
nabedge
0
340
ツール比較しながら語るO/RマッパーとDBマイグレーション
nabedge
0
190
JavaでWebサービスを作り続けるための戦略と戦術
nabedge
0
120
サーバーサイドな人がフロントエンド技術と仲良くするはじめの一歩
nabedge
0
90
Webエンジニアがスタートダッシュをキメるためのローカル開発環境の勘所
nabedge
0
97
テストゼロからイチに進むための戦略と戦術
nabedge
0
110
jOOQってなんて読むの?から始めるSpringBootとO/Rマッパーの世界
nabedge
0
180
あなたのプロジェクトが気軽にJavaをバージョンアップするために必要なこと
nabedge
0
80
Other Decks in Technology
See All in Technology
ポケモン対戦を自動で記録して振り返ろう
fufufukakaka
0
230
freeeにおけるSoftware Factory
freee
PRO
0
270
Optunaの最新リリースv5.0について
pfn
PRO
0
130
こんにちは!SORACOM です & IoT とは【SORACOM UG 東北 in 八戸】
soracom
PRO
0
170
導入から定着へ ~コーディングエージェントを日常業務に組み込む実践知~
yukisakai1225
0
180
freeeにおける AI を用いた ブラウザ動作確認の自動化の取り組み
freee
PRO
0
120
Refining Active Record
shugo
0
190
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
5
1.5k
DevelopersIO 2026 Tokyo 現時点の衛星通信サービスの現状を整理してみる
maroon1st
0
140
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
320
Browser Spec: Testing Hotwire with Ruby
takahashim
1
150
CSS2026:OWS研究会・招待講演「世界観を、実装する」
atsush1_sada
2
170
Featured
See All Featured
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
760
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
310
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Practical Orchestrator
shlominoach
192
12k
Product Roadmaps are Hard
iamctodd
55
13k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
530
Facilitating Awesome Meetings
lara
57
7.2k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
870
Transcript
Selenium再入門 W3C勧告とページオブジェクトパターンと私 Webエンジニア勉強会#2 at 神田 2017-07-22 Sat @nabedge
Who ? • わたなべ • (株)ビズリーチ • twitter: @nabedge •
github: nabedge • http://www.slideshare.net/nabedg e/presentations
アンケート:主な言語は? • Java • C#, .NET系 • Ruby, PHP •
JavaScript (Node.js的な)
アンケート:Selenium歴は? 1. いまも仕事で使ってる 2. 仕事で使おうとしたけどあきらめた 3. Hello World程度なら書いて動かしたことがある 4. 「セレニウム」っていう発音でいいんだと思って
ホッとしている。
None
None
おわび • ヘッドレスChromeの話もする、 とconnpass.comに書きましたが、 あれは嘘だ。申し訳ありません。
とりあえずデモをご覧ください
これ、わかりますよね? document.getElmementById(“foo”) document.getElementsByTagName(“div”)
2004年ごろのSelenium
None
Selenium1.x • 実行エンジンはJS • テストコマンドはtable,tr,tdタグの中に書く ◦ コマンドをJSとしてeval()しながら実行 • テスト対象のアプリケーションに同梱して起動 •
ブラウザでアクセスして実行frameのボタンを操作
セキュリティのジレンマ • JSのクロスドメイン問題 • frameタグなんてもうオワコンだよね • (このあたりでWebDriver登場) • FireFox48事件
WebDriver
https://www.edureka.co/blog/selenium-tutorial
None
None
サンプルコード解説 https://github.com/nabedge/web-study-selenium
支援ツール • Selenide ◦ http://qiita.com/tatesuke/items/589e30ab9b3dc7037e26 • Fluentlenium ◦ http://fluentlenium.org/ •
Zalenium ◦ https://github.com/zalando/zalenium
QAを極めたいエンジニア募集! https://www.bizreach.co.jp/recruit/
渋谷でも勉強会やってます