new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Playwright · API reference · all subjects

webstorage/methods

5 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

WebStorage.items() method

The async method items() returns all items in the storage as an Array of Objects. Each object has a name property (string) and a value property (string). The return type is Array<Object> with alias WebStorageItem. Introduced in v1.61.

WebStorage.getItem() method

The async method getItem(name) returns the value for the given name if present, or null if not found. The name parameter is a string representing the name of the item to retrieve. Return type is null|string. Introduced in v1.61.

WebStorage.setItem() method

The async method setItem(name, value) sets the value for the given name. It overwrites any existing value for that name. The name parameter is a string representing the name of the item to set. The value parameter is a string representing the new value for the item. Introduced in v1.61.

WebStorage.removeItem() method

The async method removeItem(name) removes the item with the given name. It is a no-op if the item is absent. The name parameter is a string representing the name of the item to remove. Introduced in v1.61.

WebStorage.clear() method

The async method clear() removes all items from the storage. Introduced in v1.61.

Give your agent this brain