instauto 9.1.5 → 9.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instauto",
3
- "version": "9.1.5",
3
+ "version": "9.1.6",
4
4
  "description": "Instagram automation library written in Node.js",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/index.js CHANGED
@@ -553,7 +553,7 @@ const Instauto = async (db, browser, options) => {
553
553
 
554
554
  await window.instautoSleep(3000);
555
555
 
556
- const closeButtonChild = document.querySelector('button [aria-label=Close]');
556
+ const closeButtonChild = document.querySelector('svg[aria-label="Close"]');
557
557
 
558
558
  if (!closeButtonChild) throw new Error('Close button not found (aria-label)');
559
559