'Can i run protractor e2e sanity testsuit from the UI by clicking html button

enter image description hereReq: Build one testing page (Using Html&css), where anyone can run the protractor test case by click on "run" button. so I want to integrate HTML button with protractor script. plz, give me any lead on the solution. (but dont want use php so can )

conf.js

exports.config = {
    framework : "jasmine",
    directConnect: true,
    
        specs : [
            "./spec.js"
        ]
    };
    

spec.js

describe('prot', function () {
    
    it('test', function () {
        browser.get('https://angularjs.org');

       // element(by.model('todoList.todoText')).sendKeys('write first protractor test');
    });
});

page.html

<!DOCTYPE html>
<html>
<body> 

<button>Analytics Sanity</button>
<script src="server.js"></script>

</body>

server.js

const shell = require('shelljs');
shell.exec('./bash.sh')

bash.sh

#script1.sh
clear
echo "Starting shell script";
protractor conf.js
echo "ending of the script";
cat script1.sh


Solution 1:[1]

couldn't attach the image to the comments

this is what jenkins may look like

enter image description here

non technical people save the bookmark to the page, open it whenever need to run tests, specify all desired parameters from available dropdowns/inputs/checkboxes and click Build button to run the tests

Reports are also available within the jenkins along with screenshots and video recordings. Capabilities include sending email or slack notifications, history of execution etc.

I think this covers what you need and much more and most of the functionality comes out of the box. For others, you just need to install existing jenkins plugins

Solution 2:[2]

The method I've used to run the e2e protractor script using an html button is with the help of a HTA application

Solution 3:[3]

That is not PayPal Plus. That is the regular PayPal Checkout SDK.

To integrate PayPal Plus for Germany and Pay Upon Invoice, see the relevant documentation. PayPal Upon Invoice may require applying for the feature for use in live.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Sergey Pleshakov
Solution 2 sarath
Solution 3 Preston PHX