--- title: "レコーディング時とテスト実行時でフォントが異なるのはなぜですか?" slug: "why-is-the-font-different-between-recording-and-test-execution" updated: 2026-04-27T01:21:11Z published: 2026-04-27T01:21:11Z canonical: "help.autify.com/why-is-the-font-different-between-recording-and-test-execution" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.autify.com/llms.txt > Use this file to discover all available pages before exploring further. # レコーディング時とテスト実行時でフォントが異なるのはなぜですか? シナリオをレコーディングした環境(ご利用のPC端末)と、テスト実行環境で、あらかじめインストールされているフォントが異なるためです。 Webアプリケーションの表示設定(CSS)で特定のフォントを指定していても、テスト実行環境に該当のフォントが存在しない場合、環境内にインストールされている別のフォントが自動的に採用されます。 **留意点** Autifyのテスト実行環境に対して、任意のフォントを追加したり、特定のフォントを指定することはできません。 なお、[JSステップ](/v1/docs/ja/javascript-steps)を使って、対象テキスト要素のスタイルを検証することで設定されているフォント情報自体の検証は、可能です。 必要に応じて、[要素のstyleを検証する](https://javascript-snippets.autify.com/ja/snippets/assertions/assert_style/) スニペットをご利用ください。