Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
RubyからSeleniumを操作する際に使うコードのチートシートです。 Seleniumを使うことでブラウザを操作した表示テストを行ったり、ブラウザをつかった操作の自動化ができます。 🍣 ブラウザを開く
概要 画面操作とテストシナリオが疎結合にできるPageObjectデザインパターンを試したかったので、検索ワードにヒットする商品を自動購入するAmazonの自動購入処理を書きました。 参考ページをCapybaraに移植したものになります。 PageObjectデザインパターンとは 公式によるとPageObjectデザインパターンとは、以下だそうです。 ・The public methods represent the services that the page offers(publicメソッドは、ページが提供するサービスを表す) ・Try not to expose the the internals of the page (ページの内部を公開しないこと) ・Generally don’t make assertions (原則としてassertionを行わないこと) ・Method
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? これはなに? Seleniumの使い方の初歩を解説したページです。 あまりプログラミングに明るくない人でも、コマンドラインからブラウザ操作できる感覚を掴んでもらうことが目標です。 元は社内向けの教育資料だったため、情報の古い箇所があるかもしれません。 また、解説資料としては画像が少なめとなっていますが、これは実際にPCを操作させながら教えていたためです Windows+Rubyで動作させています。 Seleniumって何? ググってみた。 Webアプリケーション用テストツール。 ブラウザの操作をシミュレート(自動化)して、Webアプリケ
How to get window size, resize or maximize window using Selenium WebDriver Published: February 23, 2014 by Yi Zeng (Last updated: January 16, 2017) Categories: tutorials 26 Tags: c# 8 python 2 ruby 14 selenium webdriver 16 Recently Updated - January 16, 2017 Selenium WebDriver supports getting the browser window size, resizing and maximizing window natively from its API, no JavaScript injections l
I was determined to get our CI server running cucumber features in headless mode. I ran into a few webdriver problems which resulting in a small monkey patch (capybara patch being written and submitted) for capybara. This is how I got it running on a fedora 12 server (and some tips on getting it working on an ubuntu server). Install Xvfb On fedora sudo yum install xorg-x11-server-Xvfb on ubuntu su
PocketGuitar のダウンロード数のここ1週間くらいのデータが出てきたので国別のダウンロード数の割合を計算してみました。半分以上アメリカですが、まあ iPhone が売れてるのもほとんどアメリカだと思うのでそんなもんかな。リアルサッカー2009とかはヨーロッパのほうが多かったりするのかもしれませんね。あとはヨーロッパの各言語にローカライズするともうちょっと変わるのかも。 順位 国 割合% 累計% 1 United States 58.31 58.31 2 Great Britain (UK) 10.77 69.08 3 Germany 5.85 74.93 4 Japan 5.54 80.48 5 France 3.73 84.21 6 Australia 3.37 87.58 7 Canada 2.23 89.82 8 Italy 2.04 91.85 9 Netherlands
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く