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
0
59
Selenium再入門
W3C勧告とページオブジェクトパターンと私
Yu Watanabe
July 19, 2017
Tweet
Share
More Decks by Yu Watanabe
See All by Yu Watanabe
JUnitテストをCI環境で並列で実行する方法とその速度, スケーラビリティ
nabedge
5
2.7k
クラウド時代だからSpring-Retryフレームワーク
nabedge
0
290
ツール比較しながら語るO/RマッパーとDBマイグレーション
nabedge
0
150
JavaでWebサービスを作り続けるための戦略と戦術
nabedge
0
84
サーバーサイドな人がフロントエンド技術と仲良くするはじめの一歩
nabedge
0
70
Webエンジニアがスタートダッシュをキメるためのローカル開発環境の勘所
nabedge
0
74
テストゼロからイチに進むための戦略と戦術
nabedge
0
83
jOOQってなんて読むの?から始めるSpringBootとO/Rマッパーの世界
nabedge
0
130
あなたのプロジェクトが気軽にJavaをバージョンアップするために必要なこと
nabedge
0
55
Other Decks in Technology
See All in Technology
AIと融ける人間の冒険
pujisi
0
100
202512_AIoT.pdf
iotcomjpadmin
0
170
Building Serverless AI Memory with Mastra × AWS
vvatanabe
1
830
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
170
アプリにAIを正しく組み込むための アーキテクチャ── 国産LLMの現実と実践
kohju
1
270
さくらのクラウド開発ふりかえり2025
kazeburo
2
1.3k
AI との良い付き合い方を僕らは誰も知らない
asei
1
320
ソフトウェアエンジニアとAIエンジニアの役割分担についてのある事例
kworkdev
PRO
1
340
Authlete で実装する MCP OAuth 認可サーバー #CIMD の実装を添えて
watahani
0
310
『君の名は』と聞く君の名は。 / Your name, you who asks for mine.
nttcom
1
140
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
6
2k
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
1
810
Featured
See All Featured
How to make the Groovebox
asonas
2
1.9k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
180
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
380
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
1
210
More Than Pixels: Becoming A User Experience Designer
marktimemedia
2
270
Joys of Absence: A Defence of Solitary Play
codingconduct
1
260
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Building Applications with DynamoDB
mza
96
6.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
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/
渋谷でも勉強会やってます