Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Renaming "act" to "actor"

Jan Curn437a7a6d9c95
diff --git a/examples/call_another_act.js b/examples/call_another_act.js
index 219669078..e8218a61c 100644
--- a/examples/call_another_act.js
+++ b/examples/call_another_act.js
@@ -1,12 +1,12 @@
/**
- * This example shows how to call another act - in this case apify/send-main to send
+ * This example shows how to call another actor - in this case apify/send-main to send
* email.
*
* BTC is falling down for few months already. If you don't want to miss the chance of
- * of your live then you can use this code to get current BTC prices from Kraken.com
+ * of your life then you can use this code to get current BTC prices from Kraken.com
* and mail them to your mailbox.
*
- * If you deploy this act to Apify platform then you can setup a scheduler for early
+ * If you deploy this actor to Apify platform then you can setup a scheduler for early
* morning.
*/
diff --git a/examples/synchronous_run.js b/examples/synchronous_run.js
index 731e703df..2eeeba548 100644
--- a/examples/synchronous_run.js
+++ b/examples/synchronous_run.js
@@ -1,7 +1,7 @@
/**
- * This example shows shows an act that has short runtime - just few seconds. It opens a webpage
+ * This example shows shows an actor that has short runtime - just few seconds. It opens a webpage
* http://goldengatebridge75.org/news/webcam.html that contains webcam stream from Golden Gate
- * bridge, takes a screenshot and saves it as output. This makes act executable on Apify platform
+ * bridge, takes a screenshot and saves it as output. This makes actor executable on Apify platform
* synchronously with a single request that also returns its output.
*
* Example is shared in library under https://www.apify.com/apify/example-golden-gate-webcam
diff --git a/src/actor.js b/src/actor.js
index fdea00537..80c079aa4 100644
--- a/src/actor.js
+++ b/src/actor.js
@@ -29,35 +29,35 @@ const tryParseDate = (str) => {
*
* ```javascript
* {
- * // ID of the act (APIFY_ACT_ID)
+ * // ID of the actor (APIFY_ACT_ID)
* actId: String,
*  
- * // ID of the act run (APIFY_ACT_RUN_ID)
+ * // ID of the actor run (APIFY_ACT_RUN_ID)
* actRunId: String,
*  
- * // ID of the user who started the act - note that it might be
- * // different than the owner of the act (APIFY_USER_ID)
+ * // ID of the user who started the actor - note that it might be
+ * // different than the owner of the actor (APIFY_USER_ID)
* userId: String,
*  
- * // Authentication token representing privileges given to the act run,
+ * // Authentication token representing privileges given to the actor run,
* // it can be passed to various Apify APIs (APIFY_TOKEN).
* token: String,
*  
- * // Date when the act was started (APIFY_STARTED_AT)
+ * // Date when the actor was started (APIFY_STARTED_AT)
* startedAt: Date,
*  
- * // Date when the act will time out (APIFY_TIMEOUT_AT)
+ * // Date when the actor will time out (APIFY_TIMEOUT_AT)
* timeoutAt: Date,
*  
* // ID of the key-value store where input and output data of this
- * // act is stored (APIFY_DEFAULT_KEY_VALUE_STORE_ID)
+ * // actor is stored (APIFY_DEFAULT_KEY_VALUE_STORE_ID)
* defaultKeyValueStoreId: String,
*  
- * // ID of the dataset where input and output data of this
- * // act is stored (APIFY_DEFAULT_DATASET_ID)
+ * // ID of the dataset where input and output data of this
+ * // actor is stored (APIFY_DEFAULT_DATASET_ID)
* defaultDatasetId: String,
*  
- * // Amount of memory allocated for the act run,
+ * // Amount of memory allocated for the actor,
* // in megabytes (APIFY_MEMORY_MBYTES)
* memoryMbytes: Number,
* }
@@ -73,7 +73,7 @@ const tryParseDate = (str) => {
* @name getEnv
*/
export const getEnv = () => {
- // NOTE: Don't throw if env vars are invalid to simplify local development and debugging of acts
+ // NOTE: Don't throw if env vars are invalid to simplify local development and debugging of actors
const env = process.env || {};
return {
actId: env[ENV_VARS.ACT_ID] || null,
@@ -90,7 +90,7 @@ export const getEnv = () => {
};
/**
- * Runs a user function that performs the logic of the act.
+ * Runs a user function that performs the logic of the actor.
* The `Apify.main(userFunct)` function does the following actions:
*
* <ol>
@@ -134,8 +134,8 @@ export const getEnv = () => {
* });
* ```
*
- * Note that the use of `Apify.main()` in acts is optional;
- * the function is provided merely for user convenience and acts don't need to use it.
+ * Note that the use of `Apify.main()` in actors is optional;
+ * the function is provided merely for user convenience and you don't have to use it.
*
* @param userFunc {Function} User function to be executed
*
@@ -161,7 +161,7 @@ export const main = (userFunc) => {
// Set dummy interval to ensure the process will not be killed while awaiting empty promise:
// await new Promise(() => {})
- // Such a construct is used for testing of act timeouts and aborts.
+ // Such a construct is used for testing of actor timeouts and aborts.
const intervalId = setInterval(_.noop, 9999999);
try {
@@ -191,8 +191,8 @@ export const main = (userFunc) => {
// TODO: this should rather be called Apify.listeningOnPort() or something like that
/**
- * Notifies Apify runtime that act is listening on port specified by the APIFY_INTERNAL_PORT environment
- * variable and is ready to receive a HTTP request with act input.
+ * Notifies Apify runtime that actor is listening on port specified by the APIFY_INTERNAL_PORT environment
+ * variable and is ready to receive a HTTP request with actor input.
*
* @ignore
*/
@@ -208,7 +208,7 @@ export const readyFreddy = () => {
};
/**
- * Runs another act under the current user account, waits for the act to finish and fetches its output.
+ * Runs another actor under the current user account, waits for the actor to finish and fetches its output.
*
* By passing the `waitSecs` option you can reduce the maximum amount of time to wait for the run to finish.
* If the value is less than or equal to zero, the function returns immediately after the run is started.
@@ -248,7 +248,7 @@ export const readyFreddy = () => {
* }
* ```
* Internally, the function calls the
- * <a href="https://www.apify.com/docs/api/v2#/reference/acts/runs-collection/run-act" target="_blank">Run act</a>
+ * <a href="https://www.apify.com/docs/api/v2#/reference/actors/run-collection/run-actor" target="_blank">Run actor</a>
* API endpoint and few others.
*
* Example usage:
@@ -258,28 +258,28 @@ export const readyFreddy = () => {
* console.log(`Received message: ${run.output.body.message}`);
* ```
*
- * @param {String} actId Either `username/act-name` or act ID.
- * @param {Object|String|Buffer} [input] Act input body. If it is an object, it is stringified to
- * JSON and the content type set to `application/json; charset=utf-8`.
+ * @param {String} actId Either `username/actor-name` or actor ID.
+ * @param {Object|String|Buffer} [input] Actor input body. If it is an object, it is stringified to
+ * JSON and the content type set to `application/json; charset=utf-8`.
* @param {Object} [opts]
* @param {String} [opts.token] User API token. By default, it is taken from the `APIFY_TOKEN` environment variable.
- * @param {String} [opts.build] Tag or number of act build to be run (e.g. `beta` or `1.2.345`).
- * If not provided, the default build tag or number from act configuration is used (typically `latest`).
+ * @param {String} [opts.build] Tag or number of actor build to run (e.g. `beta` or `1.2.345`).
+ * If not provided, the default build tag or number from actor configuration is used (typically `latest`).
* @param {String} [opts.contentType] Content type for the `input`. If not specified,
* `input` is expected to be an object that will be stringified to JSON and content type set to
* `application/json; charset=utf-8`. If `opts.contentType` is specified, then `input` must be a
* `String` or `Buffer`.
- * @param {Number} [opts.timeoutSecs] Time limit for act to finish, in seconds.
+ * @param {Number} [opts.timeoutSecs] Time limit for actor to finish, in seconds.
* If the limit is reached the resulting run will have the `RUNNING` status.
* By default, there is no timeout.
- * @param {String} [opts.waitSecs] - Maximum time to wait for act run to finish, in seconds.
+ * @param {String} [opts.waitSecs] - Maximum time to wait for actor run to finish, in seconds.
* If the limit is reached, the returned promise is resolved to a run object that will have
- * status `READY` or `RUNNING` and it will not contain the act run output.
- * If `waitSecs` is null or undefined, the function waits for the act to finish (default behavior).
- * @param {Number} [opts.memory] Memory in megabytes which will be allocated for the new act run.
- * @param {Boolean} [opts.fetchOutput=true] If `false` then the function does not fetch output of the act.
+ * status `READY` or `RUNNING` and it will not contain the actor run output.
+ * If `waitSecs` is null or undefined, the function waits for the actor to finish (default behavior).
+ * @param {Number} [opts.memory] Memory in megabytes which will be allocated for the new actor run.
+ * @param {Boolean} [opts.fetchOutput=true] If `false` then the function does not fetch output of the actor.
* @param {Boolean} [opts.disableBodyParser=false] If `true` then the function will not attempt to parse the
- * act's output and will return it in a raw `Buffer`.
+ * actor's output and will return it in a raw `Buffer`.
* @returns {Promise}
* @throws {ApifyCallError} If run doesn't succeed.
*
@@ -374,7 +374,7 @@ export const call = (actId, input, opts = {}) => {
/**
* Constructs the URL to the Apify Proxy using the specified settings.
- * The proxy URL can be used from Apify Actor acts, web browsers or any other HTTP
+ * The proxy URL can be used from Apify actors, web browsers or any other HTTP
* proxy-enabled applications.
*
* For more information, see
@@ -384,7 +384,7 @@ export const call = (actId, input, opts = {}) => {
* @param {Object} opts
* @param {String} opts.password User's password for the proxy.
* By default, it is taken from the `APIFY_PROXY_PASSWORD` environment variable,
- * which is automatically set by the system when running the acts on the Apify cloud.
+ * which is automatically set by the system when running the actors on the Apify cloud.
* @param {String[]} [opts.groups] Array of Apify Proxy groups to be used.
* If not provided, the proxy will select the groups automatically.
* @param {String} [opts.session] Apify Proxy session identifier to be used by the Chrome browser.
diff --git a/src/autoscaled_pool.js b/src/autoscaled_pool.js
index a436be25d..6cd2918e1 100644
--- a/src/autoscaled_pool.js
+++ b/src/autoscaled_pool.js
@@ -196,7 +196,7 @@ export default class AutoscaledPool {
// This is here because if we scale down to let's say 1, then after each promise is finished
// this._maybeRunTask() doesn't trigger another one. So if that 1 instance gets stuck it results
- // in whole act to stuck and even after scaling up it never triggers another promise.
+ // in whole actor to get stuck and even after scaling up it never triggers another promise.
this.maybeRunTaskInterval = setInterval(() => this._maybeRunTask(), this.maybeRunIntervalMillis);
// This interval checks memory and in each call saves current memory stats and in every
diff --git a/src/constants.js b/src/constants.js
index e64e015d2..28edf94a5 100644
--- a/src/constants.js
+++ b/src/constants.js
@@ -3,7 +3,7 @@ import * as consts from 'apify-shared/consts';
consts.DEFAULT_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36'; // eslint-disable-line max-len
/**
- * Exit codes for the act process.
+ * Exit codes for the actor process.
* The error codes must be in range 1-128, to avoid collision with signal exits
* and to ensure Docker will handle them correctly!
*/
diff --git a/src/dataset.js b/src/dataset.js
index 5f80d0599..e12730c51 100644
--- a/src/dataset.js
+++ b/src/dataset.js
@@ -503,10 +503,10 @@ const getOrCreateDataset = (datasetIdOrName) => {
* Example usage:
*
* ```javascript
- * const store = await Apify.openDataset(); // Opens the default dataset of the run.
- * const storeWithName = await Apify.openDataset('some-name'); // Opens dataset with name 'some-name'.
+ * // Opens dataset called 'some-name'.
+ * const dataset = await Apify.openDataset('some-name');
*
- * // Write a single row to dataset
+ * // Write a single row
* await dataset.pushData({ foo: 'bar' });
*
* // Write multiple rows
@@ -518,10 +518,10 @@ const getOrCreateDataset = (datasetIdOrName) => {
*
* If the `APIFY_LOCAL_EMULATION_DIR` environment variable is set, the result of this function
* is an instance of the `DatasetLocal` class which stores the data in a local directory
- * rather than Apify cloud. This is useful for local development and debugging of your acts.
+ * rather than Apify cloud. This is useful for local development and debugging of your actors.
*
* @param {string} datasetIdOrName ID or name of the dataset to be opened. If no value is provided
- * then the function opens the default dataset associated with the act run.
+ * then the function opens the default dataset associated with the actor run.
* @returns {Promise<Dataset>} Returns a promise that resolves to a `Dataset` object.
*
* @memberof module:Apify
@@ -567,7 +567,7 @@ export const openDataset = (datasetIdOrName) => {
};
/**
- * Stores object or an array of objects in the default dataset for the current act run using the Apify API
+ * Stores object or an array of objects in the default dataset for the current actor run using the Apify API
* Default id of the dataset is in the `APIFY_DEFAULT_DATASET_ID` environment variable
* The function has no result, but throws on invalid args or other errors.
*
@@ -575,13 +575,13 @@ export const openDataset = (datasetIdOrName) => {
* await Apify.pushData(data);
* ```
*
- * The data is stored in default dataset associated with this act.
+ * The data is stored in default dataset associated with this actor.
*
* If the `APIFY_LOCAL_EMULATION_DIR` environment variable is defined, the data gets pushed into local directory.
- * This feature is useful for local development and debugging of your acts.
+ * This feature is useful for local development and debugging of your actors.
*
* **IMPORTANT**: Do not forget to use the `await` keyword when calling `Apify.pushData()`,
- * otherwise the act process might finish before the data is stored!
+ * otherwise the actor process might finish before the data is stored!
*
* @param {Object|Array} data Object or array of objects containing data to by stored in the dataset (9MB Max)
* @returns {Promise} Returns a promise that gets resolved once data are saved.
diff --git a/src/errors.js b/src/errors.js
index f1d7df970..ad8b2b8ce 100644
--- a/src/errors.js
+++ b/src/errors.js
@@ -8,7 +8,7 @@ export const APIFY_CALL_ERROR_NAME = 'ApifyCallError';
*/
export class ApifyCallError extends Error {
constructor(run) {
- super(`The act run invoked by Apify.call() did not succeed (run ID: ${run.id})`);
+ super(`The actor invoked by Apify.call() did not succeed (run ID: ${run.id})`);
this.name = APIFY_CALL_ERROR_NAME;
this.run = run;
diff --git a/src/events.js b/src/events.js
index fbb01ee1e..94373610b 100644
--- a/src/events.js
+++ b/src/events.js
@@ -58,7 +58,7 @@ let persistStateInterval = null;
* <td>`ACTOR_EVENT_NAMES.CPU_INFO`</td>
* <td>`{ "isCpuOverloaded": true }`</td>
* <td>
- * This event is send every second and contains information if act is using maximum amount of available
+ * This event is send every second and contains information if actor is using maximum amount of available
* CPU power. If maximum is reached then there is no point in adding more workload.
* </td>
* </tr>
@@ -67,7 +67,7 @@ let persistStateInterval = null;
* <td>`ACTOR_EVENT_NAMES.MIGRATING`</td>
* <td>`null`</td>
* <td>
- * This event is send when act is going to be migrated to another worker machine. In this case act run will
+ * This event is send when actor is going to be migrated to another worker machine. In this case actor run will
* be stopped and then reinitialized at another server.
* </td>
* </tr>
@@ -77,7 +77,7 @@ let persistStateInterval = null;
* <td>`{ "isMigrating": true }`</td>
* <td>
* This event is send in regular intervals to notify all components of Apify SDK that it's time to persist
- * state. This prevents situation when act gets restarted due to a migration to another worker machine and
+ * state. This prevents situation when actor gets restarted due to a migration to another worker machine and
* needs to start from scratch. This event is also send as a result of `ACTOR_EVENT_NAMES.MIGRATING` and in
* this case the message is `{ "isMigrating": true }`.
* </td>
@@ -94,7 +94,7 @@ let persistStateInterval = null;
export default events;
/**
- * Emits event telling all comonents that they should persist their state in regular interval and also when act is being
+ * Emits event telling all comonents that they should persist their state in regular interval and also when actor is being
* migrated to another worker.
*
* @ignore
diff --git a/src/key_value_store.js b/src/key_value_store.js
index 355177c96..ed7f46ba6 100644
--- a/src/key_value_store.js
+++ b/src/key_value_store.js
@@ -356,10 +356,10 @@ const getOrCreateKeyValueStore = (storeIdOrName) => {
*
* If the `APIFY_LOCAL_EMULATION_DIR` environment variable is set, the result of this function
* is an instance of the `KeyValueStoreLocal` class which stores the records in a local directory
- * rather than Apify cloud. This is useful for local development and debugging of your acts.
+ * rather than Apify cloud. This is useful for local development and debugging of your actors.
*
* @param {string} storeIdOrName ID or name of the key-value store to be opened. If no value is
- * provided then the function opens the default key-value store associated with the act run.
+ * provided then the function opens the default key-value store associated with the actor run.
* @returns {Promise<KeyValueStore>} Returns a promise that resolves to a KeyValueStore object.
*
* @memberof module:Apify
@@ -405,10 +405,10 @@ export const openKeyValueStore = (storeIdOrName) => {
};
/**
- * Gets a value from the default key-value store for the current act run using the Apify API.
- * The key-value store is created automatically for each act run
+ * Gets a value from the default key-value store for the current actor run using the Apify API.
+ * The key-value store is created automatically for each actor run
* and its ID is passed by the Actor platform in the `APIFY_DEFAULT_KEY_VALUE_STORE_ID` environment variable.
- * It is used to store input and output of the act under keys named `INPUT` and `OUTPUT`, respectively.
+ * It is used to store input and output of the actor under keys named `INPUT` and `OUTPUT`, respectively.
* However, the store can be used for storage of any other values under arbitrary keys.
*
* Example usage:
@@ -430,7 +430,7 @@ export const openKeyValueStore = (storeIdOrName) => {
* the value is read from a that directory rather than the key-value store,
* specifically from a file that has the key as a name.
* file does not exists, the returned value is `null`. The file will get extension based on it's content type.
- * This feature is useful for local development and debugging of your acts.
+ * This feature is useful for local development and debugging of your actors.
*
*
* @param {String} key Key of the record.
@@ -444,8 +444,8 @@ export const openKeyValueStore = (storeIdOrName) => {
export const getValue = key => openKeyValueStore().then(store => store.getValue(key));
/**
- * Stores a value in the default key-value store for the current act run using the Apify API.
- * The data is stored in the key-value store created specifically for the act run,
+ * Stores a value in the default key-value store for the current actor run using the Apify API.
+ * The data is stored in the key-value store created specifically for the actor run,
* whose ID is defined in the `APIFY_DEFAULT_KEY_VALUE_STORE_ID` environment variable.
* The function has no result, but throws on invalid args or other errors.
*
@@ -462,10 +462,10 @@ export const getValue = key => openKeyValueStore().then(store => store.getValue(
*
* If the `APIFY_LOCAL_EMULATION_DIR` environment variable is defined,
* the value is written to that local directory rather than the key-value store on Apify cloud,
- * to a file named as the key. This is useful for local development and debugging of your acts.
+ * to a file named as the key. This is useful for local development and debugging of your actors.
*
* **IMPORTANT:** Do not forget to use the `await` keyword when calling `Apify.setValue()`,
- * otherwise the act process might finish before the value is stored!
+ * otherwise the actor process might finish before the value is stored!
*
* @param key Key of the record
* @param value Value of the record:
diff --git a/src/puppeteer.js b/src/puppeteer.js
index e3b52e909..2da1a34d9 100644
--- a/src/puppeteer.js
+++ b/src/puppeteer.js
@@ -120,7 +120,7 @@ const getPuppeteerOrThrow = () => {
* <li>
* Passes the setting from the `APIFY_HEADLESS` environment variable to the `headless` option,
* unless it was already defined by the caller or `APIFY_XVFB` environment variable is set to `1`.
- * Note that Apify Actor cloud platform automatically sets `APIFY_HEADLESS=1` to all running acts.
+ * Note that Apify Actor cloud platform automatically sets `APIFY_HEADLESS=1` to all running actors.
* </li>
* <li>
* Takes the `proxyUrl` option, checks it and adds it to `args` as `--proxy-server=XXX`.
@@ -142,7 +142,7 @@ const getPuppeteerOrThrow = () => {
* To use this function, you need to have the <a href="https://www.npmjs.com/package/puppeteer" target="_blank">puppeteer</a>
* NPM package installed in your project.
* When running on the Apify cloud platform, you can achieve that simply
- * by using the `apify/actor-node-chrome` base Docker image for your act - see
+ * by using the `apify/actor-node-chrome` base Docker image for your actor - see
* <a href="https://www.apify.com/docs/actor#base-images" target="_blank">Apify Actor documentation</a>
* for details.
*
diff --git a/src/puppeteer_live_view_server.js b/src/puppeteer_live_view_server.js
index 73804f42d..b6ab887fc 100644
--- a/src/puppeteer_live_view_server.js
+++ b/src/puppeteer_live_view_server.js
@@ -272,7 +272,7 @@ const sendCommand = (socket, command, data) => {
};
/**
- * Enables Live View monitoring of Act execution by spawning a web server that responds with a list
+ * Enables live monitoring of actor execution by spawning a web server that responds with a list
* of available browsers at its root path. Once the user chooses a browser, PuppeteerLiveViewServer will
* periodically serve screenshots of the selected browser's latest loaded page.
*/
diff --git a/src/request_list.js b/src/request_list.js
index af3560229..b04758793 100644
--- a/src/request_list.js
+++ b/src/request_list.js
@@ -25,7 +25,7 @@ const ensureUniqueKeyValid = (uniqueKey) => {
* Each URL is represented using an instance of the `Request` class.
*
* `RequestList` has an internal state where it remembers handled requests, requests in progress and also reclaimed requests.
- * The state might be persisted in a key-value store as shown in the example below so if an act is restarted (due to internal
+ * The state might be persisted in a key-value store as shown in the example below so if an actor is restarted (due to internal
* error or restart of the host machine) then the crawling can continue where it left off.
*
* Basic usage of `RequestList`:
diff --git a/src/request_queue.js b/src/request_queue.js
index 4f1aa8cea..8f25e8e3c 100644
--- a/src/request_queue.js
+++ b/src/request_queue.js
@@ -768,11 +768,11 @@ const getOrCreateQueue = (queueIdOrName) => {
*
* If the `APIFY_LOCAL_EMULATION_DIR` environment variable is defined, the value this function
* returns is an instance of the `RequestQueueLocal` class which is a local emulation of the request queue.
- * This is useful for local development and debugging of the acts.
+ * This is useful for local development and debugging of the actors.
*
* @param {string} queueIdOrName ID or name of the request queue to be opened.
* @returns {Promise<RequestQueue>} Returns a promise that resolves to a `RequestQueue` object. If no value is provided
- * then the function opens the default request queue associated with the act run.
+ * then the function opens the default request queue associated with the actor run.
*
* @memberof module:Apify
* @name openRequestQueue
diff --git a/src/utils.js b/src/utils.js
index b2239797f..ed75fc426 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -162,7 +162,7 @@ export const avg = arr => sum(arr) / arr.length;
*
* ```javascript
* {
- * // Total memory available to the act
+ * // Total memory available to the actor
* totalBytes: Number,
* &nbsp;
* // Amount of free memory
diff --git a/src/webdriver.js b/src/webdriver.js
index 6321b9c21..eb048b981 100644
--- a/src/webdriver.js
+++ b/src/webdriver.js
@@ -248,7 +248,7 @@ await browser.close();
```
*/
-// TODO: browse() is only kept for backwards compatibility, get rid of it after no acts are using it!
+// TODO: browse() is only kept for backwards compatibility, get rid of it after no actors are using it!
/**
* Opens a new web browser, which is attached to Apify debugger so that snapshots are sent to Run console (TODO).
@@ -287,11 +287,11 @@ export const browse = (url, options) => {
*
* To use this function, you need to have Google Chrome and
* <a href="https://sites.google.com/a/chromium.org/chromedriver/" target="_blank">ChromeDriver</a> installed in your environment.
- * For example, you can use the `apify/actor-node-chrome` base Docker image for your act - see
+ * For example, you can use the `apify/actor-node-chrome` base Docker image for your actor - see
* <a href="https://www.apify.com/docs/actor#base-images" target="_blank">documentation</a>
* for more details.
*
- * For an example of usage, see the <a href="https://www.apify.com/apify/example-selenium">apify/example-selenium</a> act.
+ * For an example of usage, see the <a href="https://www.apify.com/apify/example-selenium">apify/example-selenium</a> actor.
*
* @param {Object} [opts] Optional settings passed to `puppeteer.launch()`. Additionally the object can contain the following fields:
* @param {String} [opts.proxyUrl] - URL to a proxy server. Currently only `http://` scheme is supported.