テストユーティリティ

Playwright

デジタル製品がグローバル基準を満たしていることを確認します。Playwrightとプロキシを使用して、異なる地域からの実際のユーザー行動をシミュレートし、正確な分析を行います。

Playwright
  1. To use Playwright and set up your proxies you need to paste this code example
     const playwright = require('@playwright/test');
     const launchOptions = {
         proxy: {
             server: 'proxy.froxy.com:9000',
             username: 'login',
             password: 'password'
         }
     };
     (async () => {
         const defaultBrowser = await playwright['chromium'].launch({});
         const context = await defaultBrowser.newContext();
         const page = await context.newPage();
         await page.goto('https://froxy.com/api/detect-ip');
         console.log('chromium without proxy:', await page.textContent("*"));
         await defaultBrowser.close();
    
         for (const browserType of ['chromium', 'firefox', 'webkit']) {
             const browser = await playwright[browserType].launch(launchOptions);
             const context = await browser.newContext();
             const page = await context.newPage();
             try {
                 await page.goto('https://froxy.com/api/detect-ip');
                 console.log(`${browserType} with proxy:`, await page.textContent("*"));
             } catch (e) {
                 console.log(e);
             }
             await browser.close();
         }
     })();
    
  2. Please, add proxy config in playwright.config.ts use section
  3. You can get all information concerning server/port, login and password in your Froxy Dashboard
For additional info you can visit Playwright development portal.
ビジネスで成功する

Froxyを使ったテストとQAの開始

Froxyは、徹底的なテストのために現実の条件をシミュレートするプロキシを提供します。グローバルなIPアドレスにアクセスし、アプリケーションやウェブサイトが完璧に機能することを保証します。

テストプロセスをシームレスに始めましょう。今すぐ開始するためのプランをお選びください。