Skip to content

Commit

Permalink
Merge pull request #1400 from jdi-testing/bugfix_1395
Browse files Browse the repository at this point in the history
issue_1395: Fixed plugin opening
  • Loading branch information
MariiaNebesnova authored Jul 24, 2023
2 parents 06b9be8 + fcc5bb6 commit 260c6ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "JDN",
"description": "JDN – helps Test Automation Engineer to create Page Objects in the test automation framework and speed up test development",
"devtools_page": "index.html",
"version": "3.13.530",
"version": "3.13.531",
"icons": {
"128": "icon128.png"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jdn-ai-chrome-extension",
"version": "3.13.530",
"version": "3.13.531",
"description": "jdn-ai chrome extension",
"scripts": {
"start": "webpack --watch --env devenv",
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import "./icon128.png";
import { ScriptMsg } from "./pageServices/scriptMsg.constants";

window.onload = () => {
chrome.devtools.panels.create("JDN", "icon128.png", "app.html");
Expand All @@ -8,7 +9,7 @@ window.onbeforeunload = () => {
const tabId = chrome.devtools.inspectedWindow.tabId;

chrome.tabs.sendMessage(tabId, {
message: "SET_CLOSED_SESSION",
message: ScriptMsg.SetClosedSession,
param: { tabId, isClosed: true },
});
};

0 comments on commit 260c6ec

Please sign in to comment.