Skip to content

Commit

Permalink
Fix imports in browser examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Dec 12, 2024
1 parent 6431aaa commit 6a81cdc
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion examples/browser/colorscheme.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/cookies.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/device_emulation.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser, devices } from 'k6/x/browser/async';
import { browser, devices } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/dispatch.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/elementstate.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/evaluate.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/fillform.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/getattribute.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/grant_permission.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/hosts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/keyboard.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/locator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/locator_pom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/mouse.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/multiple-scenario.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/pageon-metric.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/pageon.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/querying.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/screenshot.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/shadowdom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/throttle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser, networkProfiles } from 'k6/x/browser/async';
import { browser, networkProfiles } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/touchscreen.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/useragent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/waitForEvent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';

export const options = {
scenarios: {
Expand Down
2 changes: 1 addition & 1 deletion examples/browser/waitforfunction.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { browser } from 'k6/x/browser/async';
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';

export const options = {
Expand Down

0 comments on commit 6a81cdc

Please sign in to comment.