Code Monkey home page Code Monkey logo

pharo-chrome's Introduction

Welcome

Astares's GitHub stats

Twitter Nucleus

Github Pharo npm

IONOS Azure Oracle

pharo-chrome's People

Contributors

akgrant avatar akgrant43 avatar astares avatar pierceng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pharo-chrome's Issues

Closing the browser via debug interface

upgrade proposal to close the browser (headless or not):
you can add

ChromeTabPage>>>closeBrowser

	^self sendMessage: {
        'method' -> 'Browser.close'
      } asDictionary

Opening for Remote Debugging

#openForRemoteDebugging does self debugOn, but debugOn seems to be the default. Later there is 2 seconds wait without explanation. Why 2 seconds specifically?

Deprecate GT extensions and use Spec2

There are 3 old legacy methods with GT inspector extensions.

Should be removed as we now do Spec2 which is more easy and allows to reuse the extension presenters

Error when closeAndExit

Hi,
When calling

browser closeAndExit.

a debug opens with an error : Does not understand #sigterm message

(i use the latest version with Pharo 11 and Pharo-OS-Windows)

i've a workaround in my environment... shall be generalized with Linux and MacOs version :

GoogleChrome>>>closeAndExit
	"Ask the browser to exit"

	chromeProcess ifNotNil: [ 
		chromeProcess process terminateProcessWithExitCode: 0.
		chromeProcess := nil ]

and:

Win32ChromePlatform>>>openChromeWith: arguments
 	
	| executableLocation cmd |
	executableLocation := '"',self defaultExecutableLocation,'"'.
	cmd := arguments ifEmpty: [ executableLocation ]
						 ifNotEmpty: [ executableLocation,' ',(self stringFromArguments: arguments) ].									
	
	^(self class environment at: #WinProcess) createProcess:  cmd.

Why STON?

It seems like NeoJSON would be a better choice. STON class mapping seems hardcoded for the use case of materializing previously-serialized Smalltalk objects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.