タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

javascriptとcanvasとbrowserに関するefclのブックマーク (2)

  • GitHub - niklasvh/html2canvas: Screenshots with JavaScript

    The script allows you to take "screenshots" of webpages or parts of it, directly on the users browser. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page. The script renders the current page as a canvas image, by reading the DOM and the

    GitHub - niklasvh/html2canvas: Screenshots with JavaScript
    efcl
    efcl 2019/04/15
    HTMLをCanvasに描画してHTMLのスクリーンショットを撮るJavaScriptライブラリ。
  • ブラウザでビジュアルテストをするreftest-runnerを作った

    概要 reftest-runnerというブラウザで描画内容やレイアウトといった表示結果をテストするためのライブラリを作りました。 要素技術としてはブラウザ、WebDriver API、レンダリングキャプチャ、画像Diffという感じです。 azu/reftest-runner 時間が無い人向け 以下のスライドに簡単にreftest-runnerやreftestとはなにか、どういうユースケースがあるのかが書いてあります。 reftest-runner-overview.pdf reftestとは reftest(Referrence Test)とは、2つのHTMLの表示結果(スクリーンショット)を比較することで表示結果が意図したものかをテストする方法です。 用意するHTMLとして以下の2種類を1セットとして用意して利用します。 テスト用HTML テストしたい機能を使って実装したHTML リファ

    ブラウザでビジュアルテストをするreftest-runnerを作った
    efcl
    efcl 2015/05/15
    ブラウザの描画結果を比較する自動テストライブラリとコマンドラインツール。 2つのHTMLを用意して表示結果が一致するかどうかテストをするので、Canvasのテストなどに利用できる
  • 1