Gcr.mock_prompter_start

function mock_prompter_start(): String {
    // Gjs wrapper for gcr_mock_prompter_start()
}
  

Start the mock prompter. This is often used from the <literal>setup<!-- -->()</literal> function of tests.

Starts the mock prompter in an additional thread. Use the returned DBus bus name with Gcr.SystemPrompt.open_for_prompter to connect to this prompter.

Returns

the bus name that the mock prompter is listening on