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
Selenium再入門
Search
Yu Watanabe
July 19, 2017
Technology
64
0
Share
Selenium再入門
W3C勧告とページオブジェクトパターンと私
Yu Watanabe
July 19, 2017
More Decks by Yu Watanabe
See All by Yu Watanabe
JUnitテストをCI環境で並列で実行する方法とその速度, スケーラビリティ
nabedge
5
2.8k
クラウド時代だからSpring-Retryフレームワーク
nabedge
0
300
ツール比較しながら語るO/RマッパーとDBマイグレーション
nabedge
0
160
JavaでWebサービスを作り続けるための戦略と戦術
nabedge
0
93
サーバーサイドな人がフロントエンド技術と仲良くするはじめの一歩
nabedge
0
76
Webエンジニアがスタートダッシュをキメるためのローカル開発環境の勘所
nabedge
0
81
テストゼロからイチに進むための戦略と戦術
nabedge
0
94
jOOQってなんて読むの?から始めるSpringBootとO/Rマッパーの世界
nabedge
0
140
あなたのプロジェクトが気軽にJavaをバージョンアップするために必要なこと
nabedge
0
63
Other Decks in Technology
See All in Technology
Amazon S3 Filesについて
yama3133
2
210
20260423_執筆の工夫と裏側 技術書の企画から刊行まで / From the planning to the publication of technical book
nash_efp
3
410
ハーネスエンジニアリングの概要と設計思想
sergicalsix
9
5k
AIを共同作業者にして書籍を執筆する方法 / How to Write a Book with AI as a Co-Creator
ama_ch
2
130
「責任あるAIエージェント」こそ自社で開発しよう!
minorun365
9
2.1k
国内外の生成AIセキュリティの最新動向 & AIガードレール製品「chakoshi」のご紹介 / Latest Trends in Generative AI Security (Domestic & International) & Introduction to AI Guardrail Product "chakoshi"
nttcom
3
1.2k
基盤を育てる 外部SaaS連携の運用
gamonges_dresscode
1
120
AWS DevOps Agentはチームメイトになれるのか?/ Can AWS DevOps Agent become a teammate
kinunori
6
750
Keeping Ruby Running on Cygwin
fd0
0
160
M5Stack CoreS3とZephyr(RTOS)で Edge AIっぽいことしてみた
iotengineer22
0
250
QGISプラグイン CMChangeDetector
naokimuroki
1
410
ネットワーク運用を楽にするAWS DevOps Agent活用法!! / 20260421 Masaki Okuda
shift_evolve
PRO
2
210
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
260
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
370
Test your architecture with Archunit
thirion
1
2.2k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
55k
Building Applications with DynamoDB
mza
96
7k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
270
エンジニアに許された特別な時間の終わり
watany
106
240k
Being A Developer After 40
akosma
91
590k
Code Review Best Practice
trishagee
74
20k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
Building AI with AI
inesmontani
PRO
1
910
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
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/
渋谷でも勉強会やってます